perl5130delta1
What is new for perl v5.13.0
Overview
This document describes differences between the 5.12.0 release and the 5.13.0 release.
If you are upgrading from an earlier release such as 5.10.0, first read perl5120delta, which describes differences between 5.10.0 and 5.12.0.
Core Enhancements
"safe signals" optimization
Signal dispatch has been moved from the runloop into control ops. This should give a few percent speed increase, and eliminates almost all of the speed penalty caused by the introduction of "safe signals" in 5.8.0. Signals should still be dispatched within the same statement as they were previously - if this is not the case, or it is possible to create uninterruptible loops, this is a bug, and reports are encouraged of how to recreate such issues.
Assignment to $0 sets the legacy process name with "prctl()" on Linux
On Linux the legacy process name will be set with prctl(2), in addition to altering the POSIX name via "argv[0]" as perl has done since version 4.000. Now system utilities that read the legacy process name such as ps, top and killall will recognize the name you set when assigning to $0. The string you supply will be cut off at 16 bytes, this is a limitation imposed by Linux.
Optimization of shift; and pop; calls without arguments
Additional two OPs are not added anymore into op tree for shift and pop calls without argument (when it works on @_). Makes "shift;" 5% faster over "shift @_;" on not threaded perl and 25% faster on threaded.
Modules and Pragmata
Updated Modules
CGI
|
Updated to version 3.49. |
|---|---|
Data::Dumper
|
Updated to version 2.126. |
MIME::Base64
|
Updated to 3.09. |
threads
|
Updated to version 1.77 |
threads-shared
|
Updated to version 1.33 |
Installation and Configuration Improvements
Platform Specific Changes
- AIX
-
Allow building on AIX 4.2.
Acknowledgements
Perl 5.13.0 represents eight days of development since Perl 5.12.0 and contains 3,766 lines of changes across 151 files from 29 authors and committers.
Thank you to the following for contributing to this release:
AEvar Arnfjoerd` Bjarmason, Alex Vandiver, Chris Williams, chromatic, Craig A. Berry, David Golden, David Mitchell, Eric Brine, Father Chrysostomos, Florian Ragwitz, Frank Wiegand, Gisle Aas, H.Merijn Brand, Hugo van der Sanden, Jesse Vincent, Josh ben Jore, Karl Williamson, Leon Brocard, Michael G Schwern, Michael G. Schwern, Nga Tang Chan, Nicholas Clark, Niko Tyni, Rafael Garcia-Suarez, Ricardo Signes, Robin Barker, Slaven Rezic, Steffen Mueller, Zefram.