View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
Abigail > perl-5.15.9 > perl5152delta


Annotate this POD




perl5152delta - what is new for perl v5.15.2


This document describes differences between the 5.15.1 release and the 5.15.2 release.

If you are upgrading from an earlier release such as 5.15.0, first read perl5151delta, which describes differences between 5.15.0 and 5.15.1.

Core Enhancements ^

Subroutines in the CORE namespace

Many Perl keywords are now available as subroutines in the CORE namespace. Most of these cannot be called through references or via &foo syntax yet, but must be called as barewords. In other words, you can now do this:

    BEGIN { *entangle = \&CORE::tie }
    entangle $variable, $package, @args;

This currently works for overridable keywords other than dump and the infix operators. Calling through references only works for functions that take no arguments (like wantarray).

Work is under way to allow more of these subroutines to be called through references.

__FILE__() Syntax

The __FILE__, __LINE__ and __PACKAGE__ tokens can now be written with an empty pair of parentheses after them. This makes them parse the same way as time, fork and other built-in functions.

Incompatible Changes ^


UNIVERSAL::VERSION now return whatever is in $VERSION, instead of returning $VERSION converted to a version object and then to a string. As a result, it no longer parses the version when called without arguments, so it no longer dies in that case for malformed versions. This allows custom version number parsers to use ->VERSION to retrieve the version number, as was the case in Perl 5.8 [perl #95544].

Modules and Pragmata ^

Updated Modules and Pragmata

Documentation ^

New Documentation


This document is intended to provide a list of experimental features in Perl. It is still a work in progress.

Changes to Existing Documentation


Diagnostics ^

The following additions or changes have been made to diagnostic output, including warnings and fatal error messages. For the complete list of diagnostic messages, see perldiag.

New Diagnostics

New Errors

Utility Changes ^



See the entry for diagnostics in "Updated Modules and Pragmata", above.

Configuration and Compilation ^

Platform Support ^

HP-UX PA-RISC/64 now supports gcc-4.x

A fix to correct the socketsize now makes the test suite pass on HP-UX PA-RISC for 64bitall builds.

Internal Changes ^

Selected Bug Fixes ^

Acknowledgements ^

Perl 5.15.2 represents approximately 2 months of development since Perl 5.15.1 and contains approximately 17,000 lines of changes across 330 files from 35 authors.

Perl continues to flourish into its third decade thanks to a vibrant community of users and developers. The following people are known to have contributed the improvements that became Perl 5.15.2:

Abigail, Andreas König, brian d foy, Brian Greenfield, Chas. Owens, Chris 'BinGOs' Williams, Craig A. Berry, David Golden, David Mitchell, Eric Brine, Father Chrysostomos, Florian Ragwitz, Gerard Goossen, H.Merijn Brand, Jesse Vincent, John Peacock, Karl Williamson, Karthik Rajagopalan, Keith Thompson, Kevin Ryde, Matthew Horsfall, Mike Sheldrake, Nicholas Clark, Niko Tyni, Reini Urban, Ricardo Signes, Salvador Fandiño, Shlomi Fish, Spiros Denaxas, Steffen Müller, Stephen Oberholtzer, Steve Hay, Tony Cook, Vincent Pit, Zefram.

The list above is almost certainly incomplete as it is automatically generated from version control history. In particular, it does not include the names of the (very much appreciated) contributors who reported issues to the Perl bug tracker.

Many of the changes included in this version originated in the CPAN modules included in Perl's core. We're grateful to the entire CPAN community for helping Perl to flourish.

For a more complete list of all of Perl's historical contributors, please see the AUTHORS file in the Perl source distribution.

Reporting Bugs ^

If you find what you think is a bug, you might check the articles recently posted to the comp.lang.perl.misc newsgroup and the perl bug database at . There may also be information at , the Perl Home Page.

If you believe you have an unreported bug, please run the perlbug program included with your release. Be sure to trim your bug down to a tiny but sufficient test case. Your bug report, along with the output of perl -V, will be sent off to to be analysed by the Perl porting team.

If the bug you are reporting has security implications, which make it inappropriate to send to a publicly archived mailing list, then please send it to This points to a closed subscription unarchived mailing list, which includes all the core committers, who will be able to help assess the impact of issues, figure out a resolution, and help co-ordinate the release of patches to mitigate or fix the problem across all platforms on which Perl is supported. Please only use this address for security issues in the Perl core, not for modules independently distributed on CPAN.


The Changes file for an explanation of how to view exhaustive details on what changed.

The INSTALL file for how to build Perl.

The README file for general stuff.

The Artistic and Copying files for copyright information.

syntax highlighting: