perl52510delta - what is new for perl v5.25.10
This document describes differences between the 5.25.9 release and the 5.25.10 release.
If you are upgrading from an earlier release such as 5.25.8, first read perl5259delta, which describes differences between 5.25.8 and 5.25.9.
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.
This was changed to drop a leading
so it uses the same style as other deprecation messages.
It was decided to undeprecate the use of "\c%c", see http://www.nntp.perl.org/group/perl.perl5.porters/2017/02/msg242944.html
This version of VC++ includes a completely rewritten C run-time library, some of the changes in which mean that work done to resolve a socket close() bug in perl #120091 and perl #118059 is not workable in its current state with this version of VC++. Therefore, we have effectively reverted that bug fix for VS2015 onwards on the basis that being able to build with VS2015 onwards is more important than keeping the bug fix. We may revisit this in the future to attempt to fix the bug again in a way that is compatible with VS2015.
These changes do not affect compilation with GCC or with Visual Studio versions up to and including VS2013, i.e. the bug fix is retained (unchanged) for those compilers.
Note that you may experience compatibility problems if you mix a perl built with GCC or VS <= VS2013 with XS modules built with VS2015, or if you mix a perl built with VS2015 with XS modules built with GCC or VS <= VS2013. Some incompatibility may arise because of the bug fix that has been reverted for VS2015 builds of perl, but there may well be incompatibility anyway because of the rewritten CRT in VS2015 (e.g. see discussion at http://stackoverflow.com/questions/30412951).
op_class()API function has been added. This is like the existing
OP_CLASS()macro, but can more accurately determine what struct an op has been allocated as. For example
OA_BASEOP_OR_UNOPindicating that ops of this type are usually allocated as an
op_dump()function (as used by
perl -Dx) has changed: it now displays an "ASCII-art" tree structure, and shows more low-level details about each op, such as its address and class.
$#as the object in an indirect object method call could cause a heap use after free or buffer overflow. [perl #129274]
$value1 =~ qr/.../ ~~ $value2would have the match converted into a qr// operator, leaving extra elements on the stack to confuse any surrounding expression. [perl #130705]
local()s in a code block within a patterns weren't being undone when the pattern matching backtracked over the code block. [perl #126697]
substr()to modify a magic variable could access freed memory in some cases. [perl #129340]
use utf8, the entire Perl program is checked that the UTF-8 is wellformed. It turns out that several edge cases were missed, and are now fixed. [perl #126310] was the original ticket.
Perl 5.25.10 represents approximately 4 weeks of development since Perl 5.25.9 and contains approximately 12,000 lines of changes across 200 files from 25 authors.
Excluding auto-generated files, documentation and release tools, there were approximately 6,700 lines of changes to 130 .pm, .t, .c and .h files.
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.25.10:
Aaron Crane, Abigail, Andreas König, Andy Lester, Chris 'BinGOs' Williams, Christian Millour, Colin Newell, Dagfinn Ilmari Mannsåker, David Mitchell, Hugo van der Sanden, James E Keenan, Jarkko Hietaniemi, Jerry D. Hedden, John Lightsey, Karl Williamson, Neil Bowers, Pali, Renee Baecker, Sawyer X, Sergey Aleynikov, Steffen Müller, Steve Hay, Tony Cook, Yves Orton, 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.
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
will be sent off to email@example.com 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 see "SECURITY VULNERABILITY CONTACT INFORMATION" in perlsec for details of how to report the issue.
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.