| 1 |
.\" -*- mode: troff; coding: utf-8 -*- |
| 2 |
.\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45) |
| 3 |
.\" |
| 4 |
.\" Standard preamble: |
| 5 |
.\" ======================================================================== |
| 6 |
.de Sp \" Vertical space (when we can't use .PP) |
| 7 |
.if t .sp .5v |
| 8 |
.if n .sp |
| 9 |
.. |
| 10 |
.de Vb \" Begin verbatim text |
| 11 |
.ft CW |
| 12 |
.nf |
| 13 |
.ne \\$1 |
| 14 |
.. |
| 15 |
.de Ve \" End verbatim text |
| 16 |
.ft R |
| 17 |
.fi |
| 18 |
.. |
| 19 |
.\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. |
| 20 |
.ie n \{\ |
| 21 |
. ds C` "" |
| 22 |
. ds C' "" |
| 23 |
'br\} |
| 24 |
.el\{\ |
| 25 |
. ds C` |
| 26 |
. ds C' |
| 27 |
'br\} |
| 28 |
.\" |
| 29 |
.\" Escape single quotes in literal strings from groff's Unicode transform. |
| 30 |
.ie \n(.g .ds Aq \(aq |
| 31 |
.el .ds Aq ' |
| 32 |
.\" |
| 33 |
.\" If the F register is >0, we'll generate index entries on stderr for |
| 34 |
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index |
| 35 |
.\" entries marked with X<> in POD. Of course, you'll have to process the |
| 36 |
.\" output yourself in some meaningful fashion. |
| 37 |
.\" |
| 38 |
.\" Avoid warning from groff about undefined register 'F'. |
| 39 |
.de IX |
| 40 |
.. |
| 41 |
.nr rF 0 |
| 42 |
.if \n(.g .if rF .nr rF 1 |
| 43 |
.if (\n(rF:(\n(.g==0)) \{\ |
| 44 |
. if \nF \{\ |
| 45 |
. de IX |
| 46 |
. tm Index:\\$1\t\\n%\t"\\$2" |
| 47 |
.. |
| 48 |
. if !\nF==2 \{\ |
| 49 |
. nr % 0 |
| 50 |
. nr F 2 |
| 51 |
. \} |
| 52 |
. \} |
| 53 |
.\} |
| 54 |
.rr rF |
| 55 |
.\" ======================================================================== |
| 56 |
.\" |
| 57 |
.IX Title "PERL5282DELTA 1" |
| 58 |
.TH PERL5282DELTA 1 2025-11-16 "perl v5.40.1" "Perl Programmers Reference Guide" |
| 59 |
.\" For nroff, turn off justification. Always turn off hyphenation; it makes |
| 60 |
.\" way too many mistakes in technical documents. |
| 61 |
.if n .ad l |
| 62 |
.nh |
| 63 |
.SH NAME |
| 64 |
perl5282delta \- what is new for perl v5.28.2 |
| 65 |
.SH DESCRIPTION |
| 66 |
.IX Header "DESCRIPTION" |
| 67 |
This document describes differences between the 5.28.1 release and the 5.28.2 |
| 68 |
release. |
| 69 |
.PP |
| 70 |
If you are upgrading from an earlier release such as 5.28.0, first read |
| 71 |
perl5281delta, which describes differences between 5.28.0 and 5.28.1. |
| 72 |
.SH "Incompatible Changes" |
| 73 |
.IX Header "Incompatible Changes" |
| 74 |
.SS "Any set of digits in the Common script are legal in a script run of another script" |
| 75 |
.IX Subsection "Any set of digits in the Common script are legal in a script run of another script" |
| 76 |
There are several sets of digits in the Common script. \f(CW\*(C`[0\-9]\*(C'\fR is the most |
| 77 |
familiar. But there are also \f(CW\*(C`[\ex{FF10}\-\ex{FF19}]\*(C'\fR (FULLWIDTH DIGIT ZERO \- |
| 78 |
FULLWIDTH DIGIT NINE), and several sets for use in mathematical notation, such |
| 79 |
as the MATHEMATICAL DOUBLE-STRUCK DIGITs. Any of these sets should be able to |
| 80 |
appear in script runs of, say, Greek. But the previous design overlooked all |
| 81 |
but the ASCII digits \f(CW\*(C`[0\-9]\*(C'\fR, so the design was flawed. This has been fixed, |
| 82 |
so is both a bug fix and an incompatibility. |
| 83 |
.PP |
| 84 |
All digits in a run still have to come from the same set of ten digits. |
| 85 |
.PP |
| 86 |
[GH #16704] <https://github.com/Perl/perl5/issues/16704> |
| 87 |
.SH "Modules and Pragmata" |
| 88 |
.IX Header "Modules and Pragmata" |
| 89 |
.SS "Updated Modules and Pragmata" |
| 90 |
.IX Subsection "Updated Modules and Pragmata" |
| 91 |
.IP \(bu 4 |
| 92 |
Module::CoreList has been upgraded from version 5.20181129_28 to 5.20190419. |
| 93 |
.IP \(bu 4 |
| 94 |
PerlIO::scalar has been upgraded from version 0.29 to 0.30. |
| 95 |
.IP \(bu 4 |
| 96 |
Storable has been upgraded from version 3.08 to 3.08_01. |
| 97 |
.SH "Platform Support" |
| 98 |
.IX Header "Platform Support" |
| 99 |
.SS "Platform-Specific Notes" |
| 100 |
.IX Subsection "Platform-Specific Notes" |
| 101 |
.IP Windows 4 |
| 102 |
.IX Item "Windows" |
| 103 |
The Windows Server 2003 SP1 Platform SDK build, with its early x64 compiler and |
| 104 |
tools, was accidentally broken in Perl 5.27.9. This has now been fixed. |
| 105 |
.IP "Mac OS X" 4 |
| 106 |
.IX Item "Mac OS X" |
| 107 |
Perl's build and testing process on Mac OS X for \f(CW\*(C`\-Duseshrplib\*(C'\fR builds is now |
| 108 |
compatible with Mac OS X System Integrity Protection (SIP). |
| 109 |
.Sp |
| 110 |
SIP prevents binaries in \fI/bin\fR (and a few other places) being passed the |
| 111 |
\&\f(CW\*(C`DYLD_LIBRARY_PATH\*(C'\fR environment variable. For our purposes this prevents |
| 112 |
\&\f(CW\*(C`DYLD_LIBRARY_PATH\*(C'\fR from being passed to the shell, which prevents that |
| 113 |
variable being passed to the testing or build process, so running \f(CW\*(C`perl\*(C'\fR |
| 114 |
couldn't find \fIlibperl.dylib\fR. |
| 115 |
.Sp |
| 116 |
To work around that, the initial build of the \fIperl\fR executable expects to |
| 117 |
find \fIlibperl.dylib\fR in the build directory, and the library path is then |
| 118 |
adjusted during installation to point to the installed library. |
| 119 |
.Sp |
| 120 |
[GH #15057] <https://github.com/Perl/perl5/issues/15057> |
| 121 |
.SH "Selected Bug Fixes" |
| 122 |
.IX Header "Selected Bug Fixes" |
| 123 |
.IP \(bu 4 |
| 124 |
If an in-place edit is still in progress during global destruction and the |
| 125 |
process exit code (as stored in \f(CW$?\fR) is zero, perl will now treat the |
| 126 |
in-place edit as successful, replacing the input file with any output produced. |
| 127 |
.Sp |
| 128 |
This allows code like: |
| 129 |
.Sp |
| 130 |
.Vb 1 |
| 131 |
\& perl \-i \-ne \*(Aqprint "Foo"; last\*(Aq |
| 132 |
.Ve |
| 133 |
.Sp |
| 134 |
to replace the input file, while code like: |
| 135 |
.Sp |
| 136 |
.Vb 1 |
| 137 |
\& perl \-i \-ne \*(Aqprint "Foo"; die\*(Aq |
| 138 |
.Ve |
| 139 |
.Sp |
| 140 |
will not. Partly resolves [perl #133659]. |
| 141 |
.Sp |
| 142 |
[GH #16748] <https://github.com/Perl/perl5/issues/16748> |
| 143 |
.IP \(bu 4 |
| 144 |
A regression in Perl 5.28 caused the following code to fail |
| 145 |
.Sp |
| 146 |
.Vb 1 |
| 147 |
\& close(STDIN); open(CHILD, "|wc \-l")\*(Aq |
| 148 |
.Ve |
| 149 |
.Sp |
| 150 |
because the child's stdin would be closed on exec. This has now been fixed. |
| 151 |
.IP \(bu 4 |
| 152 |
\&\f(CW\*(C`pack "u", "invalid uuencoding"\*(C'\fR now properly NUL terminates the zero-length |
| 153 |
SV produced. |
| 154 |
.Sp |
| 155 |
[GH #16343] <https://github.com/Perl/perl5/issues/16343> |
| 156 |
.IP \(bu 4 |
| 157 |
Failing to compile a format now aborts compilation. Like other errors in |
| 158 |
sub-parses this could leave the parser in a strange state, possibly crashing |
| 159 |
perl if compilation continued. |
| 160 |
.Sp |
| 161 |
[GH #16169] <https://github.com/Perl/perl5/issues/16169> |
| 162 |
.IP \(bu 4 |
| 163 |
See "Any set of digits in the Common script are legal in a script run of |
| 164 |
another script". |
| 165 |
.SH Acknowledgements |
| 166 |
.IX Header "Acknowledgements" |
| 167 |
Perl 5.28.2 represents approximately 4 months of development since Perl 5.28.1 |
| 168 |
and contains approximately 2,500 lines of changes across 75 files from 13 |
| 169 |
authors. |
| 170 |
.PP |
| 171 |
Excluding auto-generated files, documentation and release tools, there were |
| 172 |
approximately 1,200 lines of changes to 29 .pm, .t, .c and .h files. |
| 173 |
.PP |
| 174 |
Perl continues to flourish into its fourth decade thanks to a vibrant community |
| 175 |
of users and developers. The following people are known to have contributed |
| 176 |
the improvements that became Perl 5.28.2: |
| 177 |
.PP |
| 178 |
Aaron Crane, Abigail, Andy Dougherty, David Mitchell, Karen Etheridge, Karl |
| 179 |
Williamson, Leon Timmermans, Nicolas R., Sawyer X, Steve Hay, Tina Müller, |
| 180 |
Tony Cook, Zak B. Elep. |
| 181 |
.PP |
| 182 |
The list above is almost certainly incomplete as it is automatically generated |
| 183 |
from version control history. In particular, it does not include the names of |
| 184 |
the (very much appreciated) contributors who reported issues to the Perl bug |
| 185 |
tracker. |
| 186 |
.PP |
| 187 |
Many of the changes included in this version originated in the CPAN modules |
| 188 |
included in Perl's core. We're grateful to the entire CPAN community for |
| 189 |
helping Perl to flourish. |
| 190 |
.PP |
| 191 |
For a more complete list of all of Perl's historical contributors, please see |
| 192 |
the \fIAUTHORS\fR file in the Perl source distribution. |
| 193 |
.SH "Reporting Bugs" |
| 194 |
.IX Header "Reporting Bugs" |
| 195 |
If you find what you think is a bug, you might check the perl bug database |
| 196 |
at <https://rt.perl.org/> . There may also be information at |
| 197 |
<http://www.perl.org/> , the Perl Home Page. |
| 198 |
.PP |
| 199 |
If you believe you have an unreported bug, please run the perlbug program |
| 200 |
included with your release. Be sure to trim your bug down to a tiny but |
| 201 |
sufficient test case. Your bug report, along with the output of \f(CW\*(C`perl \-V\*(C'\fR, |
| 202 |
will be sent off to [email protected] to be analysed by the Perl porting team. |
| 203 |
.PP |
| 204 |
If the bug you are reporting has security implications which make it |
| 205 |
inappropriate to send to a publicly archived mailing list, then see |
| 206 |
"SECURITY VULNERABILITY CONTACT INFORMATION" in perlsec |
| 207 |
for details of how to report the issue. |
| 208 |
.SH "Give Thanks" |
| 209 |
.IX Header "Give Thanks" |
| 210 |
If you wish to thank the Perl 5 Porters for the work we had done in Perl 5, |
| 211 |
you can do so by running the \f(CW\*(C`perlthanks\*(C'\fR program: |
| 212 |
.PP |
| 213 |
.Vb 1 |
| 214 |
\& perlthanks |
| 215 |
.Ve |
| 216 |
.PP |
| 217 |
This will send an email to the Perl 5 Porters list with your show of thanks. |
| 218 |
.SH "SEE ALSO" |
| 219 |
.IX Header "SEE ALSO" |
| 220 |
The \fIChanges\fR file for an explanation of how to view exhaustive details on |
| 221 |
what changed. |
| 222 |
.PP |
| 223 |
The \fIINSTALL\fR file for how to build Perl. |
| 224 |
.PP |
| 225 |
The \fIREADME\fR file for general stuff. |
| 226 |
.PP |
| 227 |
The \fIArtistic\fR and \fICopying\fR files for copyright information. |