You are viewing the version of this documentation from Perl 5.18.1. View the latest version

CONTENTS

NAME

perl5122delta - what is new for perl v5.12.2

DESCRIPTION

This document describes differences between the 5.12.1 release and the 5.12.2 release.

If you are upgrading from an earlier major version, such as 5.10.1, first read perl5120delta, which describes differences between 5.10.1 and 5.12.0, as well as perl5121delta, which describes earlier changes in the 5.12 stable release series.

Incompatible Changes

There are no changes intentionally incompatible with 5.12.1. If any exist, they are bugs and reports are welcome.

Core Enhancements

Other than the bug fixes listed below, there should be no user-visible changes to the core language in this release.

Modules and Pragmata

New Modules and Pragmata

This release does not introduce any new modules or pragmata.

Pragmata Changes

In the previous release, no VERSION; statements triggered a bug which could cause feature bundles to be loaded and strict mode to be enabled unintentionally.

Updated Modules

Carp

Upgraded from version 1.16 to 1.17.

Carp now detects incomplete caller() overrides and avoids using bogus @DB::args. To provide backtraces, Carp relies on particular behaviour of the caller built-in. Carp now detects if other code has overridden this with an incomplete implementation, and modifies its backtrace accordingly. Previously incomplete overrides would cause incorrect values in backtraces (best case), or obscure fatal errors (worst case)

This fixes certain cases of Bizarre copy of ARRAY caused by modules overriding caller() incorrectly.

CPANPLUS

A patch to cpanp-run-perl has been backported from CPANPLUS 0.9004. This resolves RT #55964 and