perl5221delta (1) Linux Manual Page
NAME
perl5221delta – what is new for perl v5.22.1
DESCRIPTION
This document describes differences between the 5.22.0 release and the 5.22.1 release.
If you are upgrading from an earlier release such as 5.20.0, first read perl5220delta, which describes differences between 5.20.0 and 5.22.0.
Incompatible Changes
There are no changes intentionally incompatible with 5.20.0 other than the following single exception, which we deemed to be a sensible change to make in order to get the new "{wb}" and (in particular) "{sb}" features sane before people decided they’re worthless because of bugs in their Perl 5.22.0 implementation and avoided them in the future. If any others exist, they are bugs, and we request that you submit a report. See “Reporting Bugs” below.
Bounds Checking Constructs
Several bugs, including a segmentation fault, have been fixed with the bounds checking constructs (introduced in Perl 5.22) "{gcb}", "{sb}", "{wb}", "\B{gcb}", "\B{sb}", and "\B{wb}". All the "\B{}" ones now match an empty string; none of the "{}" ones do. [perl #126319] <https://rt.perl.org/Ticket/Display.html?id=126319>
Modules and Pragmata
Updated Modules and Pragmata
- •
- Module::CoreList has been upgraded from version 5.20150520 to 5.20151213.
- •
- PerlIO::scalar has been upgraded from version 0.22 to 0.23.
- •
- POSIX has been upgraded from version 1.53 to 1.53_01.
If "POSIX::strerror" was passed $! as its argument then it accidentally cleared $!. This has been fixed. [perl #126229] <https://rt.perl.org/Ticket/Display.html?id=126229>
- •
- Storable has been upgraded from version 2.53 to 2.53_01.
- •
- warnings has been upgraded from version 1.32 to 1.34.
The "warnings::enabled" example now actually uses "warnings::enabled". [perl #126051] <https://rt.perl.org/Ticket/Display.html?id=126051>
- •
- Win32 has been upgraded from version 0.51 to 0.52.
This has been updated for Windows 8.1, 10 and 2012 R2 Server.
Documentation
Changes to Existing Documentation
perltie
- •
- The usage of "FIRSTKEY" and "NEXTKEY" has been clarified.
perlvar
- •
- The specific true value of $!{E...} is now documented, noting that it is subject to change and not guaranteed.
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.
Changes to Existing Diagnostics
- •
- The "printf" and "sprintf" builtins are now more careful about the warnings they emit: argument reordering now disables the “redundant argument” warning in all cases. [perl #125469] <https://rt.perl.org/Ticket/Display.html?id=125469>
Configuration and Compilation
- •
- Using the "NO_HASH_SEED" define in combination with the default hash algorithm "PERL_HASH_FUNC_ONE_AT_A_TIME_HARD" resulted in a fatal error while compiling the interpreter, since Perl 5.17.10. This has been fixed.
- •
- Configuring with ccflags containing quotes (e.g. "-Accflags='-DAPPLLIB_EXP=\"/usr/libperl\"'") was broken in Perl 5.22.0 but has now been fixed again. [perl #125314] <https://rt.perl.org/Ticket/Display.html?id=125314>
Platform Support
Platform-Specific Notes
- IRIX
-
-
- •
- Under some circumstances IRIX stdio
fgetc()andfread()set the errno to "ENOENT", which made no sense according to either IRIX or POSIX docs. Errno is now cleared in such cases. [perl #123977] <https://rt.perl.org/Ticket/Display.html?id=123977> - •
- Problems when multiplying long doubles by infinity have been fixed. [perl #126396] <https://rt.perl.org/Ticket/Display.html?id=126396>
- •
- All tests pass now on IRIX with the default build configuration.
Selected Bug Fixes
- •
- "qr/(?[ () ])/" no longer segfaults, giving a syntax error message instead. [perl #125805] <https://rt.perl.org/Ticket/Display.html?id=125805>
- •
- Regular expression possessive quantifier Perl 5.20 regression now fixed. "qr/"PAT"{"min,max"}+""/" is supposed to behave identically to "qr/(?>"PAT"{"min,max"})/". Since Perl 5.20, this didn’t work if min and max were equal. [perl #125825] <https://rt.perl.org/Ticket/Display.html?id=125825>
- •
- Certain syntax errors in “Extended Bracketed Character Classes” in perlrecharclass caused panics instead of the proper error message. This has now been fixed. [perl #126481] <https://rt.perl.org/Ticket/Display.html?id=126481>
- •
- "BEGIN <>" no longer segfaults and properly produces an error message. [perl #125341] <https://rt.perl.org/Ticket/Display.html?id=125341>
- •
- A regression from Perl 5.20 has been fixed, in which some syntax errors in "(?[...])" constructs within regular expression patterns could cause a segfault instead of a proper error message. [perl #126180] <https://rt.perl.org/Ticket/Display.html?id=126180>
- •
- Another problem with "(?[...])" constructs has been fixed wherein things like "
