.\" Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" ======================================================================== .\" .IX Title "PERL52510DELTA 1" .TH PERL52510DELTA 1 "2017-05-20" "perl v5.26.0" "Perl Programmers Reference Guide" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" perl52510delta \- what is new for perl v5.25.10 .SH "DESCRIPTION" .IX Header "DESCRIPTION" This document describes differences between the 5.25.9 release and the 5.25.10 release. .PP 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. .SH "Modules and Pragmata" .IX Header "Modules and Pragmata" .SS "Updated Modules and Pragmata" .IX Subsection "Updated Modules and Pragmata" .IP "\(bu" 4 B has been upgraded from version 1.65 to 1.68. .IP "\(bu" 4 \&\s-1CPAN\s0 has been upgraded from version 2.16 to 2.17. .IP "\(bu" 4 feature has been upgraded from version 1.46 to 1.47. .IP "\(bu" 4 Getopt::Std has been upgraded from version 1.11 to 1.12. .IP "\(bu" 4 Module::CoreList has been upgraded from version 5.20170120 to 5.20170220. .IP "\(bu" 4 open has been upgraded from version 1.10 to 1.11. .IP "\(bu" 4 PerlIO has been upgraded from version 1.09 to 1.10. .IP "\(bu" 4 Storable has been upgraded from version 2.61 to 2.62. .IP "\(bu" 4 Thread::Queue has been upgraded from version 3.11 to 3.12. .IP "\(bu" 4 threads has been upgraded from version 2.12 to 2.13. .SH "Diagnostics" .IX Header "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. .SS "Changes to Existing Diagnostics" .IX Subsection "Changes to Existing Diagnostics" .IP "\(bu" 4 Use of unassigned code point or non-standalone grapheme for a delimiter will be a fatal error starting in Perl 5.30 .Sp This was changed to drop a leading \f(CW\*(C`v\*(C'\fR in \f(CW\*(C`v5.30\*(C'\fR, so it uses the same style as other deprecation messages. .IP "\(bu" 4 \&\*(L"\ec%c\*(R" is more clearly written simply as \*(L"%s\*(R". .Sp It was decided to undeprecate the use of \*(L"\ec%c\*(R", see .SH "Platform Support" .IX Header "Platform Support" .SS "Platform-Specific Notes" .IX Subsection "Platform-Specific Notes" .IP "Windows" 4 .IX Item "Windows" .RS 4 .PD 0 .IP "\(bu" 4 .PD Support for compiling perl on Windows using Microsoft Visual Studio 2015 (containing Visual \*(C+ 14.0) has been added. .Sp This version of \s-1VC++\s0 includes a completely rewritten C run-time library, some of the changes in which mean that work done to resolve a socket \fIclose()\fR bug in perl #120091 and perl #118059 is not workable in its current state with this version of \s-1VC++.\s0 Therefore, we have effectively reverted that bug fix for \&\s-1VS2015\s0 onwards on the basis that being able to build with \s-1VS2015\s0 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 \s-1VS2015.\s0 .Sp These changes do not affect compilation with \s-1GCC\s0 or with Visual Studio versions up to and including \s-1VS2013,\s0 i.e. the bug fix is retained (unchanged) for those compilers. .Sp Note that you may experience compatibility problems if you mix a perl built with \s-1GCC\s0 or \s-1VS\s0 <= \s-1VS2013\s0 with \s-1XS\s0 modules built with \s-1VS2015,\s0 or if you mix a perl built with \s-1VS2015\s0 with \s-1XS\s0 modules built with \s-1GCC\s0 or \s-1VS\s0 <= \s-1VS2013.\s0 Some incompatibility may arise because of the bug fix that has been reverted for \s-1VS2015\s0 builds of perl, but there may well be incompatibility anyway because of the rewritten \s-1CRT\s0 in \s-1VS2015\s0 (e.g. see discussion at http://stackoverflow.com/questions/30412951). .RE .RS 4 .RE .SH "Internal Changes" .IX Header "Internal Changes" .IP "\(bu" 4 The \f(CW\*(C`op_class()\*(C'\fR \s-1API\s0 function has been added. This is like the existing \&\f(CW\*(C`OP_CLASS()\*(C'\fR macro, but can more accurately determine what struct an op has been allocated as. For example \f(CW\*(C`OP_CLASS()\*(C'\fR might return \&\f(CW\*(C`OA_BASEOP_OR_UNOP\*(C'\fR indicating that ops of this type are usually allocated as an \f(CW\*(C`OP\*(C'\fR or \f(CW\*(C`UNOP\*(C'\fR; while \f(CW\*(C`op_class()\*(C'\fR will return \&\f(CW\*(C`OPclass_BASEOP\*(C'\fR or \f(CW\*(C`OPclass_UNOP\*(C'\fR as appropriate. .IP "\(bu" 4 The output format of the \f(CW\*(C`op_dump()\*(C'\fR function (as used by \f(CW\*(C`perl \-Dx\*(C'\fR) has changed: it now displays an \*(L"ASCII-art\*(R" tree structure, and shows more low-level details about each op, such as its address and class. .SH "Selected Bug Fixes" .IX Header "Selected Bug Fixes" .IP "\(bu" 4 Attempting to use the deprecated variable \f(CW$#\fR as the object in an indirect object method call could cause a heap use after free or buffer overflow. [perl #129274] .IP "\(bu" 4 When checking for an indirect object method call in some rare cases the parser could reallocate the line buffer but then continue to use pointers to the old buffer. [perl #129190] .IP "\(bu" 4 Supplying a glob as the format argument to \*(L"formline\*(R" in perlfunc would cause an assertion failure. [perl #130722] .IP "\(bu" 4 Code like \f(CW\*(C` $value1 =~ qr/.../ ~~ $value2 \*(C'\fR would have the match converted into a qr// operator, leaving extra elements on the stack to confuse any surrounding expression. [perl #130705] .IP "\(bu" 4 Since 5.24.0 in some obscure cases, a regex which included code blocks from multiple sources (e.g. via embedded via qr// objects) could end up with the wrong current pad and crash or give weird results. [perl #129881] .IP "\(bu" 4 Occasionally \f(CW\*(C`local()\*(C'\fRs in a code block within a patterns weren't being undone when the pattern matching backtracked over the code block. [perl #126697] .IP "\(bu" 4 Using \f(CW\*(C`substr()\*(C'\fR to modify a magic variable could access freed memory in some cases. [perl #129340] .IP "\(bu" 4 Perl 5.25.9 was fixed so that under \f(CW\*(C`use utf8\*(C'\fR, the entire Perl program is checked that the \s-1UTF\-8\s0 is wellformed. It turns out that several edge cases were missed, and are now fixed. [perl #126310] was the original ticket. .SH "Acknowledgements" .IX Header "Acknowledgements" 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. .PP Excluding auto-generated files, documentation and release tools, there were approximately 6,700 lines of changes to 130 .pm, .t, .c and .h files. .PP 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: .PP 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. .PP 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. .PP Many of the changes included in this version originated in the \s-1CPAN\s0 modules included in Perl's core. We're grateful to the entire \s-1CPAN\s0 community for helping Perl to flourish. .PP For a more complete list of all of Perl's historical contributors, please see the \fI\s-1AUTHORS\s0\fR file in the Perl source distribution. .SH "Reporting Bugs" .IX Header "Reporting Bugs" If you find what you think is a bug, you might check the perl bug database at . There may also be information at , the Perl Home Page. .PP 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 \f(CW\*(C`perl \-V\*(C'\fR, will be sent off to perlbug@perl.org to be analysed by the Perl porting team. .PP If the bug you are reporting has security implications which make it inappropriate to send to a publicly archived mailing list, then see \&\*(L"\s-1SECURITY VULNERABILITY CONTACT INFORMATION\*(R"\s0 in perlsec for details of how to report the issue. .SH "SEE ALSO" .IX Header "SEE ALSO" The \fIChanges\fR file for an explanation of how to view exhaustive details on what changed. .PP The \fI\s-1INSTALL\s0\fR file for how to build Perl. .PP The \fI\s-1README\s0\fR file for general stuff. .PP The \fIArtistic\fR and \fICopying\fR files for copyright information.