| 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 "PERL5301DELTA 1" |
| 58 |
.TH PERL5301DELTA 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 |
perl5301delta \- what is new for perl v5.30.1 |
| 65 |
.SH DESCRIPTION |
| 66 |
.IX Header "DESCRIPTION" |
| 67 |
This document describes differences between the 5.30.0 release and the 5.30.1 |
| 68 |
release. |
| 69 |
.PP |
| 70 |
If you are upgrading from an earlier release such as 5.28.0, first read |
| 71 |
perl5300delta, which describes differences between 5.28.0 and 5.30.0. |
| 72 |
.SH "Incompatible Changes" |
| 73 |
.IX Header "Incompatible Changes" |
| 74 |
There are no changes intentionally incompatible with 5.30.1. If any exist, |
| 75 |
they are bugs, and we request that you submit a report. See |
| 76 |
"Reporting Bugs" below. |
| 77 |
.SH "Modules and Pragmata" |
| 78 |
.IX Header "Modules and Pragmata" |
| 79 |
.SS "Updated Modules and Pragmata" |
| 80 |
.IX Subsection "Updated Modules and Pragmata" |
| 81 |
.IP \(bu 4 |
| 82 |
Module::CoreList has been upgraded from version 5.20190522 to 5.20191110. |
| 83 |
.SH Documentation |
| 84 |
.IX Header "Documentation" |
| 85 |
.SS "Changes to Existing Documentation" |
| 86 |
.IX Subsection "Changes to Existing Documentation" |
| 87 |
We have attempted to update the documentation to reflect the changes listed in |
| 88 |
this document. If you find any we have missed, send email to |
| 89 |
[email protected] <mailto:[email protected]>. |
| 90 |
.PP |
| 91 |
Additionally, documentation has been updated to reference GitHub as the new |
| 92 |
canonical repository and to describe the new GitHub pull request workflow. |
| 93 |
.SH "Configuration and Compilation" |
| 94 |
.IX Header "Configuration and Compilation" |
| 95 |
.IP \(bu 4 |
| 96 |
The \f(CW\*(C`ECHO\*(C'\fR macro is now defined. This is used in a \f(CW\*(C`dtrace\*(C'\fR rule that was |
| 97 |
originally changed for FreeBSD, and the FreeBSD make apparently predefines it. |
| 98 |
The Solaris make does not predefine \f(CW\*(C`ECHO\*(C'\fR which broke this rule on Solaris. |
| 99 |
[perl #17057] <https://github.com/perl/perl5/issues/17057> |
| 100 |
.SH Testing |
| 101 |
.IX Header "Testing" |
| 102 |
Tests were added and changed to reflect the other additions and changes in this |
| 103 |
release. |
| 104 |
.SH "Platform Support" |
| 105 |
.IX Header "Platform Support" |
| 106 |
.SS "Platform-Specific Notes" |
| 107 |
.IX Subsection "Platform-Specific Notes" |
| 108 |
.IP Win32 4 |
| 109 |
.IX Item "Win32" |
| 110 |
The locale tests could crash on Win32 due to a Windows bug, and separately due |
| 111 |
to the CRT throwing an exception if the locale name wasn't validly encoded in |
| 112 |
the current code page. |
| 113 |
.Sp |
| 114 |
For the second we now decode the locale name ourselves, and always decode it as |
| 115 |
UTF\-8. |
| 116 |
.Sp |
| 117 |
[perl #16922] <https://github.com/perl/perl5/issues/16922> |
| 118 |
.SH "Selected Bug Fixes" |
| 119 |
.IX Header "Selected Bug Fixes" |
| 120 |
.IP \(bu 4 |
| 121 |
Setting \f(CW$)\fR now properly sets supplementary group ids, if you have the |
| 122 |
necessary privileges. |
| 123 |
[perl #17031] <https://github.com/perl/perl5/issues/17031> |
| 124 |
.IP \(bu 4 |
| 125 |
\&\f(CW\*(C`readline @foo\*(C'\fR now evaluates \f(CW@foo\fR in scalar context. Previously, it would |
| 126 |
be evaluated in list context, and since \fBreadline()\fR pops only one argument from |
| 127 |
the stack, the stack could underflow, or be left with unexpected values on it. |
| 128 |
[perl #16929] <https://github.com/perl/perl5/issues/16929> |
| 129 |
.IP \(bu 4 |
| 130 |
\&\fBsv_gets()\fR now recovers better if the target SV is modified by a signal handler. |
| 131 |
[perl #16960] <https://github.com/perl/perl5/issues/16960> |
| 132 |
.IP \(bu 4 |
| 133 |
Matching a non\-\f(CW\*(C`SVf_UTF8\*(C'\fR string against a regular expression containing |
| 134 |
Unicode literals could leak an SV on each match attempt. |
| 135 |
[perl #17140] <https://github.com/perl/perl5/issues/17140> |
| 136 |
.IP \(bu 4 |
| 137 |
\&\f(CW\*(C`sprintf("%.*a", \-10000, $x)\*(C'\fR would cause a buffer overflow due to |
| 138 |
mishandling of the negative precision value. |
| 139 |
[perl #16942] <https://github.com/perl/perl5/issues/16942> |
| 140 |
.IP \(bu 4 |
| 141 |
\&\f(CWscalar()\fR on a reference could cause an erroneous assertion failure during |
| 142 |
compilation. |
| 143 |
[perl #16969] <https://github.com/perl/perl5/issues/16969> |
| 144 |
.SH Acknowledgements |
| 145 |
.IX Header "Acknowledgements" |
| 146 |
Perl 5.30.1 represents approximately 6 months of development since Perl 5.30.0 |
| 147 |
and contains approximately 4,700 lines of changes across 67 files from 14 |
| 148 |
authors. |
| 149 |
.PP |
| 150 |
Excluding auto-generated files, documentation and release tools, there were |
| 151 |
approximately 910 lines of changes to 20 .pm, .t, .c and .h files. |
| 152 |
.PP |
| 153 |
Perl continues to flourish into its fourth decade thanks to a vibrant community |
| 154 |
of users and developers. The following people are known to have contributed |
| 155 |
the improvements that became Perl 5.30.1: |
| 156 |
.PP |
| 157 |
Chris 'BinGOs' Williams, Dan Book, David Mitchell, Hugo van der Sanden, James E |
| 158 |
Keenan, Karen Etheridge, Karl Williamson, Manuel Mausz, Max Maischein, Nicolas |
| 159 |
R., Sawyer X, Steve Hay, Tom Hukins, Tony Cook. |
| 160 |
.PP |
| 161 |
The list above is almost certainly incomplete as it is automatically generated |
| 162 |
from version control history. In particular, it does not include the names of |
| 163 |
the (very much appreciated) contributors who reported issues to the Perl bug |
| 164 |
tracker. |
| 165 |
.PP |
| 166 |
Many of the changes included in this version originated in the CPAN modules |
| 167 |
included in Perl's core. We're grateful to the entire CPAN community for |
| 168 |
helping Perl to flourish. |
| 169 |
.PP |
| 170 |
For a more complete list of all of Perl's historical contributors, please see |
| 171 |
the \fIAUTHORS\fR file in the Perl source distribution. |
| 172 |
.SH "Reporting Bugs" |
| 173 |
.IX Header "Reporting Bugs" |
| 174 |
If you find what you think is a bug, you might check the perl bug database at |
| 175 |
<https://rt.perl.org/>. There may also be information at |
| 176 |
<http://www.perl.org/>, the Perl Home Page. |
| 177 |
.PP |
| 178 |
If you believe you have an unreported bug, please run the perlbug program |
| 179 |
included with your release. Be sure to trim your bug down to a tiny but |
| 180 |
sufficient test case. Your bug report, along with the output of \f(CW\*(C`perl \-V\*(C'\fR, |
| 181 |
will be sent off to [email protected] to be analysed by the Perl porting team. |
| 182 |
.PP |
| 183 |
If the bug you are reporting has security implications which make it |
| 184 |
inappropriate to send to a publicly archived mailing list, then see |
| 185 |
"SECURITY VULNERABILITY CONTACT INFORMATION" in perlsec for details of how to |
| 186 |
report the issue. |
| 187 |
.SH "Give Thanks" |
| 188 |
.IX Header "Give Thanks" |
| 189 |
If you wish to thank the Perl 5 Porters for the work we had done in Perl 5, you |
| 190 |
can do so by running the \f(CW\*(C`perlthanks\*(C'\fR program: |
| 191 |
.PP |
| 192 |
.Vb 1 |
| 193 |
\& perlthanks |
| 194 |
.Ve |
| 195 |
.PP |
| 196 |
This will send an email to the Perl 5 Porters list with your show of thanks. |
| 197 |
.SH "SEE ALSO" |
| 198 |
.IX Header "SEE ALSO" |
| 199 |
The \fIChanges\fR file for an explanation of how to view exhaustive details on |
| 200 |
what changed. |
| 201 |
.PP |
| 202 |
The \fIINSTALL\fR file for how to build Perl. |
| 203 |
.PP |
| 204 |
The \fIREADME\fR file for general stuff. |
| 205 |
.PP |
| 206 |
The \fIArtistic\fR and \fICopying\fR files for copyright information. |