.\" 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 "PERL5255DELTA 1"
.TH PERL5255DELTA 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"
perl5255delta \- what is new for perl v5.25.5
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
This document describes differences between the 5.25.4 release and the 5.25.5
release.
.PP
If you are upgrading from an earlier release such as 5.25.3, first read
perl5254delta, which describes differences between 5.25.3 and 5.25.4.
.SH "Security"
.IX Header "Security"
.ie n .SS """Escaped"" colons and relative paths in \s-1PATH\s0"
.el .SS "``Escaped'' colons and relative paths in \s-1PATH\s0"
.IX Subsection "Escaped colons and relative paths in PATH"
On Unix systems, Perl treats any relative paths in the \s-1PATH\s0 environment
variable as tainted when starting a new process. Previously, it was
allowing a backslash to escape a colon (unlike the \s-1OS\s0), consequently
allowing relative paths to be considered safe if the \s-1PATH\s0 was set to
something like \f(CW\*(C`/\e:.\*(C'\fR. The check has been fixed to treat \f(CW\*(C`.\*(C'\fR as tainted
in that example.
.SH "Modules and Pragmata"
.IX Header "Modules and Pragmata"
.SS "Updated Modules and Pragmata"
.IX Subsection "Updated Modules and Pragmata"
.IP "\(bu" 4
Filter::Simple has been upgraded from version 0.92 to 0.93.
.Sp
It no longer treats \f(CW\*(C`no MyFilter\*(C'\fR immediately following \f(CW\*(C`use MyFilter\*(C'\fR as
end-of-file. [perl #107726]
.IP "\(bu" 4
Locale::Codes has been upgraded from 3.39 to 3.40.
.IP "\(bu" 4
Module::CoreList has been upgraded from version 5.20160820 to 5.20160920.
.IP "\(bu" 4
\&\s-1POSIX\s0 has been upgraded from version 1.71 to 1.72.
.IP "\(bu" 4
Sys::Syslog has been upgraded from version 0.34_01 to 0.35.
.IP "\(bu" 4
Test::Simple has been upgraded from version 1.302052 to 1.302056.
.IP "\(bu" 4
Thread::Semaphore has been upgraded from 2.12 to 2.13.
.Sp
Added the \f(CW\*(C`down_timed\*(C'\fR method.
.IP "\(bu" 4
XSLoader has been upgraded from version 0.22 to 0.24.
.SH "Documentation"
.IX Header "Documentation"
.SS "Changes to Existing Documentation"
.IX Subsection "Changes to Existing Documentation"
\fIperlinterp\fR
.IX Subsection "perlinterp"
.IP "\(bu" 4
perlinterp has been expanded to give a more detailed example of how to
hunt around in the parser for how a given operator is handled.
.SH "Testing"
.IX Header "Testing"
.IP "\(bu" 4
\&\fIt/re/regexp_nonull.t\fR has been added to test that the regular expression
engine can handle scalars that do not have a null byte just past the end of
the string.
.SH "Platform Support"
.IX Header "Platform Support"
.SS "Platform-Specific Notes"
.IX Subsection "Platform-Specific Notes"
.IP "\s-1VMS\s0" 4
.IX Item "VMS"
.RS 4
.PD 0
.IP "\(bu" 4
.PD
The path separator for the \f(CW\*(C`PERL5LIB\*(C'\fR and \f(CW\*(C`PERLLIB\*(C'\fR environment entries is
now a colon (\f(CW\*(C`:\*(C'\fR) when running under a Unix shell. There is no change when
running under \s-1DCL\s0 (it's still \f(CW\*(C`|\*(C'\fR).
.IP "\(bu" 4
Remove some VMS-specific hacks from \f(CW\*(C`showlex.t\*(C'\fR. These were added 15 years
ago, and are no longer necessary for any \s-1VMS\s0 version now supported.
.RE
.RS 4
.RE
.IP "Win32" 4
.IX Item "Win32"
.RS 4
.PD 0
.IP "\(bu" 4
.PD
Tweaks for Win32 \s-1VC\s0 vs \s-1GCC\s0 detection makefile code. This fixes issue that \s-1CCHOME\s0
depends on \s-1CCTYPE,\s0 which in auto detect mode is set after \s-1CCHOME,\s0 so \s-1CCHOME\s0 uses
the uninit \s-1CCTYPE\s0 var. Also fix else vs .ELSE in makefile.mk
.RE
.RS 4
.RE
.SH "Internal Changes"
.IX Header "Internal Changes"
.IP "\(bu" 4
Several macros and functions have been added to the public \s-1API\s0 for
dealing with Unicode and UTF\-8\-encoded strings. See
\&\*(L"Unicode Support\*(R" in perlapi.
.IP "\(bu" 4
Use \f(CW\*(C`my_strlcat()\*(C'\fR in \f(CW\*(C`locale.c\*(C'\fR. While \f(CW\*(C`strcat()\*(C'\fR is safe in this context,
some compilers were optimizing this to \f(CW\*(C`strcpy()\*(C'\fR causing a porting test to
fail that looks for unsafe code. Rather than fighting this, we just use
\&\f(CW\*(C`my_strlcat()\*(C'\fR instead.
.SH "Selected Bug Fixes"
.IX Header "Selected Bug Fixes"
.IP "\(bu" 4
Invalid assignments to a reference constructor (e.g., \f(CW\*(C`\eeval=time\*(C'\fR) could
sometimes crash in addition to giving a syntax error. [perl #125679]
.IP "\(bu" 4
The parser could sometimes crash if a bareword came after \f(CW\*(C`evalbytes\*(C'\fR.
[perl #129196]
.IP "\(bu" 4
Autoloading via a method call would warn erroneously (\*(L"Use of inherited
\&\s-1AUTOLOAD\s0 for non-method\*(R") if there was a stub present in the package into
which the invocant had been blessed. The warning is no longer emitted in
such circumstances. [perl #47047]
.IP "\(bu" 4
A sub containing with a \*(L"forward\*(R" declaration with the same name (e.g.,
\&\f(CW\*(C`sub c { sub c; }\*(C'\fR) could sometimes crash or loop infinitely. [perl
#129090]
.IP "\(bu" 4
The use of \f(CW\*(C`splice\*(C'\fR on arrays with nonexistent elements could cause other
operators to crash. [perl #129164]
.IP "\(bu" 4
Fixed case where \f(CW\*(C`re_untuit_start\*(C'\fR will overshoot the length of a utf8
string. [perl #129012]
.IP "\(bu" 4
Handle \f(CW\*(C`CXt_SUBST\*(C'\fR better in \f(CW\*(C`Perl_deb_stack_all\*(C'\fR, previously it wasn't
checking that the \fIcurrent\fR \f(CW\*(C`cx\*(C'\fR is the right type, and instead was always
checking the base \f(CW\*(C`cx\*(C'\fR (effectively a noop). [perl #129029]
.IP "\(bu" 4
Fixed two possible use-after-free bugs in \f(CW\*(C`Perl_yylex\*(C'\fR. \f(CW\*(C`Perl_yylex\*(C'\fR
maintains up to two pointers into the parser buffer, one of which can
become stale under the right conditions. [perl #129069]
.IP "\(bu" 4
Fixed a crash with \f(CW\*(C`s///l\*(C'\fR where it thought it was dealing with \s-1UTF\-8\s0
when it wasn't. [perl #129038]
.IP "\(bu" 4
Fixed place where regex was not setting the syntax error correctly.
[perl #129122]
.IP "\(bu" 4
The \f(CW\*(C`&.\*(C'\fR operator (and the \f(CW\*(C`&\*(C'\fR operator, when it treats its arguments as
strings) were failing to append a trailing null byte if at least one string
was marked as utf8 internally. Many code paths (system calls, regexp
compilation) still expect there to be a null byte in the string buffer
just past the end of the logical string. An assertion failure was the
result. [perl #129287]
.IP "\(bu" 4
Check \f(CW\*(C`pack_sockaddr_un()\*(C'\fR's return value because \f(CW\*(C`pack_sockaddr_un()\*(C'\fR
silently truncates the supplied path if it won't fit into the \f(CW\*(C`sun_path\*(C'\fR
member of \f(CW\*(C`sockaddr_un\*(C'\fR. This may change in the future, but for now
check the path in the\f(CW\*(C`sockaddr\*(C'\fR matches the desired path, and skip if
it doesn't. [perl #128095]
.IP "\(bu" 4
Make sure \f(CW\*(C`PL_oldoldbufptr\*(C'\fR is preserved in \f(CW\*(C`scan_heredoc()\*(C'\fR. In some
cases this is used in building error messages. [perl #128988]
.IP "\(bu" 4
Check for null PL_curcop in \s-1\fIIN_LC\s0()\fR [perl #129106]
.IP "\(bu" 4
Fixed the parser error handling for an '\f(CW\*(C`:attr(foo\*(C'\fR' that does not have
an ending '\f(CW\*(C`)\*(C'\fR'.
.IP "\(bu" 4
Fix \f(CW\*(C`Perl_delimcpy()\*(C'\fR to handle a backslash as last char, this
actually fixed two bugs, [perl #129064] and [perl #129176].
.IP "\(bu" 4
[perl #129267] rework gv_fetchmethod_pvn_flags separator parsing to
prevent possible string overrun with invalid len in gv.c
.SH "Obituary"
.IX Header "Obituary"
Jon Portnoy (\s-1AVENJ\s0), a prolific Perl author and admired Gentoo community
member, has passed away on August 10, 2016. He will be remembered and
missed by all those with which he came in contact and enriched with his
intellect, wit, and spirit.
.SH "Acknowledgements"
.IX Header "Acknowledgements"
Perl 5.25.5 represents approximately 4 weeks of development since Perl 5.25.4
and contains approximately 67,000 lines of changes across 230 files from 25
authors.
.PP
Excluding auto-generated files, documentation and release tools, there were
approximately 62,000 lines of changes to 160 .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.5:
.PP
Aaron Crane, Aristotle Pagaltzis, Chris 'BinGOs' Williams, Craig A. Berry,
Dagfinn Ilmari Mannsåker, Dan Collins, Daniel Dragan, Dave Cross, David
Mitchell, E. Choroba, Father Chrysostomos, James E Keenan, Jerry D. Hedden,
Karl Williamson, Lukas Mai, Ricardo Signes, Rick Delaney, Sawyer X, Stevan
Little, Steve Hay, Sullivan Beck, Theo Buehler, Tony Cook, Yaroslav Kuzmin,
Yves Orton.
.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.