Debian Codegraph @

upstream/opensuse-tumbleweed/man1/perl5221delta.1

raw
1 .\" -*- mode: troff; coding: utf-8 -*-
2 .\" Automatically generated by Pod::Man v6.0.2 (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 .\" Required to disable full justification in groff 1.23.0.
57 .if n .ds AD l
58 .\" ========================================================================
59 .\"
60 .IX Title "PERL5221DELTA 1"
61 .TH PERL5221DELTA 1 2026-03-09 "perl v5.42.1" "Perl Programmers Reference Guide"
62 .\" For nroff, turn off justification. Always turn off hyphenation; it makes
63 .\" way too many mistakes in technical documents.
64 .if n .ad l
65 .nh
66 .SH NAME
67 perl5221delta \- what is new for perl v5.22.1
68 .SH DESCRIPTION
69 .IX Header "DESCRIPTION"
70 This document describes differences between the 5.22.0 release and the 5.22.1
71 release.
72 .PP
73 If you are upgrading from an earlier release such as 5.20.0, first read
74 perl5220delta, which describes differences between 5.20.0 and 5.22.0.
75 .SH "Incompatible Changes"
76 .IX Header "Incompatible Changes"
77 There are no changes intentionally incompatible with 5.20.0 other than the
78 following single exception, which we deemed to be a sensible change to make in
79 order to get the new \f(CW\*(C`\eb{wb}\*(C'\fR and (in particular) \f(CW\*(C`\eb{sb}\*(C'\fR features sane
80 before people decided they\*(Aqre worthless because of bugs in their Perl 5.22.0
81 implementation and avoided them in the future.
82 If any others exist, they are bugs, and we request that you submit a report.
83 See "Reporting Bugs" below.
84 .SS "Bounds Checking Constructs"
85 .IX Subsection "Bounds Checking Constructs"
86 Several bugs, including a segmentation fault, have been fixed with the bounds
87 checking constructs (introduced in Perl 5.22) \f(CW\*(C`\eb{gcb}\*(C'\fR, \f(CW\*(C`\eb{sb}\*(C'\fR, \f(CW\*(C`\eb{wb}\*(C'\fR,
88 \&\f(CW\*(C`\eB{gcb}\*(C'\fR, \f(CW\*(C`\eB{sb}\*(C'\fR, and \f(CW\*(C`\eB{wb}\*(C'\fR. All the \f(CW\*(C`\eB{}\*(C'\fR ones now match an empty
89 string; none of the \f(CW\*(C`\eb{}\*(C'\fR ones do.
90 [GH #14976] <https://github.com/Perl/perl5/issues/14976>
91 .SH "Modules and Pragmata"
92 .IX Header "Modules and Pragmata"
93 .SS "Updated Modules and Pragmata"
94 .IX Subsection "Updated Modules and Pragmata"
95 .IP \(bu 4
96 Module::CoreList has been upgraded from version 5.20150520 to 5.20151213.
97 .IP \(bu 4
98 PerlIO::scalar has been upgraded from version 0.22 to 0.23.
99 .IP \(bu 4
100 POSIX has been upgraded from version 1.53 to 1.53_01.
101 .Sp
102 If \f(CW\*(C`POSIX::strerror\*(C'\fR was passed \f(CW$!\fR as its argument then it accidentally
103 cleared \f(CW$!\fR. This has been fixed.
104 [GH #14951] <https://github.com/Perl/perl5/issues/14951>
105 .IP \(bu 4
106 Storable has been upgraded from version 2.53 to 2.53_01.
107 .IP \(bu 4
108 warnings has been upgraded from version 1.32 to 1.34.
109 .Sp
110 The \f(CW\*(C`warnings::enabled\*(C'\fR example now actually uses \f(CW\*(C`warnings::enabled\*(C'\fR.
111 [GH #14905] <https://github.com/Perl/perl5/issues/14905>
112 .IP \(bu 4
113 Win32 has been upgraded from version 0.51 to 0.52.
114 .Sp
115 This has been updated for Windows 8.1, 10 and 2012 R2 Server.
116 .SH Documentation
117 .IX Header "Documentation"
118 .SS "Changes to Existing Documentation"
119 .IX Subsection "Changes to Existing Documentation"
120 \fIperltie\fR
121 .IX Subsection "perltie"
122 .IP \(bu 4
123 The usage of \f(CW\*(C`FIRSTKEY\*(C'\fR and \f(CW\*(C`NEXTKEY\*(C'\fR has been clarified.
124 .PP
125 \fIperlvar\fR
126 .IX Subsection "perlvar"
127 .IP \(bu 4
128 The specific true value of \f(CW$!{E...}\fR is now documented, noting that it is
129 subject to change and not guaranteed.
130 .SH Diagnostics
131 .IX Header "Diagnostics"
132 The following additions or changes have been made to diagnostic output,
133 including warnings and fatal error messages. For the complete list of
134 diagnostic messages, see perldiag.
135 .SS "Changes to Existing Diagnostics"
136 .IX Subsection "Changes to Existing Diagnostics"
137 .IP \(bu 4
138 The \f(CW\*(C`printf\*(C'\fR and \f(CW\*(C`sprintf\*(C'\fR builtins are now more careful about the warnings
139 they emit: argument reordering now disables the "redundant argument" warning in
140 all cases.
141 [GH #14772] <https://github.com/Perl/perl5/issues/14772>
142 .SH "Configuration and Compilation"
143 .IX Header "Configuration and Compilation"
144 .IP \(bu 4
145 Using the \f(CW\*(C`NO_HASH_SEED\*(C'\fR define in combination with the default hash algorithm
146 \&\f(CW\*(C`PERL_HASH_FUNC_ONE_AT_A_TIME_HARD\*(C'\fR resulted in a fatal error while compiling
147 the interpreter, since Perl 5.17.10. This has been fixed.
148 .IP \(bu 4
149 Configuring with ccflags containing quotes (e.g.
150 \&\f(CW\*(C`\-Accflags=\*(Aq\-DAPPLLIB_EXP=\e"/usr/libperl\e"\*(Aq\*(C'\fR) was broken in Perl 5.22.0
151 but has now been fixed again.
152 [GH #14732] <https://github.com/Perl/perl5/issues/14732>
153 .SH "Platform Support"
154 .IX Header "Platform Support"
155 .SS "Platform\-Specific Notes"
156 .IX Subsection "Platform-Specific Notes"
157 .IP IRIX 4
158 .IX Item "IRIX"
159 .RS 4
160 .PD 0
161 .IP \(bu 4
162 .PD
163 Under some circumstances IRIX stdio \fBfgetc()\fR and \fBfread()\fR set the errno to
164 \&\f(CW\*(C`ENOENT\*(C'\fR, which made no sense according to either IRIX or POSIX docs. Errno
165 is now cleared in such cases.
166 [GH #14557] <https://github.com/Perl/perl5/issues/14557>
167 .IP \(bu 4
168 Problems when multiplying long doubles by infinity have been fixed.
169 [GH #14993] <https://github.com/Perl/perl5/issues/14993>
170 .IP \(bu 4
171 All tests pass now on IRIX with the default build configuration.
172 .RE
173 .RS 4
174 .RE
175 .SH "Selected Bug Fixes"
176 .IX Header "Selected Bug Fixes"
177 .IP \(bu 4
178 \&\f(CW\*(C`qr/(?[ () ])/\*(C'\fR no longer segfaults, giving a syntax error message instead.
179 [GH #14851] <https://github.com/Perl/perl5/issues/14851>
180 .IP \(bu 4
181 Regular expression possessive quantifier Perl 5.20 regression now fixed.
182 \&\f(CW\*(C`qr/\*(C'\fR\fIPAT\fR\f(CW\*(C`{\*(C'\fR\fImin\fR,\fImax\fR\f(CW\*(C`}+\*(C'\fR\f(CW\*(C`/\*(C'\fR is supposed to behave identically to
183 \&\f(CW\*(C`qr/(?>\*(C'\fR\fIPAT\fR\f(CW\*(C`{\*(C'\fR\fImin\fR,\fImax\fR\f(CW\*(C`})/\*(C'\fR. Since Perl 5.20, this didn\*(Aqt work
184 if \fImin\fR and \fImax\fR were equal.
185 [GH #14857] <https://github.com/Perl/perl5/issues/14857>
186 .IP \(bu 4
187 Certain syntax errors in
188 "Extended Bracketed Character Classes" in perlrecharclass caused panics instead
189 of the proper error message. This has now been fixed.
190 [GH #15016] <https://github.com/Perl/perl5/issues/15016>
191 .IP \(bu 4
192 \&\f(CW\*(C`BEGIN <>\*(C'\fR no longer segfaults and properly produces an error message.
193 [GH #13546] <https://github.com/Perl/perl5/issues/13546>
194 .IP \(bu 4
195 A regression from Perl 5.20 has been fixed, in which some syntax errors in
196 \&\f(CW\*(C`(?[...])\*(C'\fR constructs
197 within regular expression patterns could cause a segfault instead of a proper
198 error message.
199 [GH #14933] <https://github.com/Perl/perl5/issues/14933>
200 .IP \(bu 4
201 Another problem with
202 \&\f(CW\*(C`(?[...])\*(C'\fR
203 constructs has been fixed wherein things like \f(CW\*(C`\ec]\*(C'\fR could cause panics.
204 [GH #14934] <https://github.com/Perl/perl5/issues/14934>
205 .IP \(bu 4
206 In Perl 5.22.0, the logic changed when parsing a numeric parameter to the \-C
207 option, such that the successfully parsed number was not saved as the option
208 value if it parsed to the end of the argument.
209 [GH #14748] <https://github.com/Perl/perl5/issues/14748>
210 .IP \(bu 4
211 Warning fatality is now ignored when rewinding the stack. This prevents
212 infinite recursion when the now fatal error also causes rewinding of the stack.
213 [GH #14319] <https://github.com/Perl/perl5/issues/14319>
214 .IP \(bu 4
215 A crash with \f(CW\*(C`%::=(); J\->${\e"::"}\*(C'\fR has been fixed.
216 [GH #14790] <https://github.com/Perl/perl5/issues/14790>
217 .IP \(bu 4
218 Nested quantifiers such as \f(CW\*(C`/.{1}??/\*(C'\fR should cause perl to throw a fatal
219 error, but were being silently accepted since Perl 5.20.0. This has been
220 fixed.
221 [GH #14960] <https://github.com/Perl/perl5/issues/14960>
222 .IP \(bu 4
223 Regular expression sequences such as \f(CW\*(C`/(?i/\*(C'\fR (and similarly with other
224 recognized flags or combination of flags) should cause perl to throw a fatal
225 error, but were being silently accepted since Perl 5.18.0. This has been
226 fixed.
227 [GH #14931] <https://github.com/Perl/perl5/issues/14931>
228 .IP \(bu 4
229 A bug in hexadecimal floating point literal support meant that high\-order bits
230 could be lost in cases where mantissa overflow was caused by too many trailing
231 zeros in the fractional part. This has been fixed.
232 [GH #15032] <https://github.com/Perl/perl5/issues/15032>
233 .IP \(bu 4
234 Another hexadecimal floating point bug, causing low\-order bits to be lost in
235 cases where the last hexadecimal digit of the mantissa has bits straddling the
236 limit of the number of bits allowed for the mantissa, has also been fixed.
237 [GH #15033] <https://github.com/Perl/perl5/issues/15033>
238 .IP \(bu 4
239 Further hexadecimal floating point bugs have been fixed: In some circumstances,
240 the \f(CW%a\fR format specifier could variously lose the sign of the negative zero,
241 fail to display zeros after the radix point with the requested precision, or
242 even lose the radix point after the leftmost hexadecimal digit completely.
243 .IP \(bu 4
244 A crash caused by incomplete expressions within \f(CW\*(C`/(?[ ])/\*(C'\fR (e.g.
245 \&\f(CW\*(C`/(?[[0]+()+])/\*(C'\fR) has been fixed.
246 [GH #15045] <https://github.com/Perl/perl5/issues/15045>
247 .SH Acknowledgements
248 .IX Header "Acknowledgements"
249 Perl 5.22.1 represents approximately 6 months of development since Perl 5.22.0
250 and contains approximately 19,000 lines of changes across 130 files from 27
251 authors.
252 .PP
253 Excluding auto\-generated files, documentation and release tools, there were
254 approximately 1,700 lines of changes to 44 .pm, .t, .c and .h files.
255 .PP
256 Perl continues to flourish into its third decade thanks to a vibrant community
257 of users and developers. The following people are known to have contributed
258 the improvements that became Perl 5.22.1:
259 .PP
260 Aaron Crane, Abigail, Andy Broad, Aristotle Pagaltzis, Chase Whitener, Chris
261 \&\*(AqBinGOs\*(Aq Williams, Craig A. Berry, Daniel Dragan, David Mitchell, Father
262 Chrysostomos, Herbert Breunung, Hugo van der Sanden, James E Keenan, Jan
263 Dubois, Jarkko Hietaniemi, Karen Etheridge, Karl Williamson, Lukas Mai, Matthew
264 Horsfall, Peter Martini, Rafael Garcia\-Suarez, Ricardo Signes, Shlomi Fish,
265 Sisyphus, Steve Hay, Tony Cook, Victor Adam.
266 .PP
267 The list above is almost certainly incomplete as it is automatically generated
268 from version control history. In particular, it does not include the names of
269 the (very much appreciated) contributors who reported issues to the Perl bug
270 tracker.
271 .PP
272 Many of the changes included in this version originated in the CPAN modules
273 included in Perl\*(Aqs core. We\*(Aqre grateful to the entire CPAN community for
274 helping Perl to flourish.
275 .PP
276 For a more complete list of all of Perl\*(Aqs historical contributors, please see
277 the \fIAUTHORS\fR file in the Perl source distribution.
278 .SH "Reporting Bugs"
279 .IX Header "Reporting Bugs"
280 If you find what you think is a bug, you might check the articles recently
281 posted to the comp.lang.perl.misc newsgroup and the perl bug database at
282 https://rt.perl.org/ . There may also be information at
283 http://www.perl.org/ , the Perl Home Page.
284 .PP
285 If you believe you have an unreported bug, please run the perlbug program
286 included with your release. Be sure to trim your bug down to a tiny but
287 sufficient test case. Your bug report, along with the output of \f(CW\*(C`perl \-V\*(C'\fR,
288 will be sent off to [email protected] to be analysed by the Perl porting team.
289 .PP
290 If the bug you are reporting has security implications, which make it
291 inappropriate to send to a publicly archived mailing list, then please send it
292 to perl5\-security\[email protected]. This points to a closed subscription
293 unarchived mailing list, which includes all the core committers, who will be
294 able to help assess the impact of issues, figure out a resolution, and help
295 co\-ordinate the release of patches to mitigate or fix the problem across all
296 platforms on which Perl is supported. Please only use this address for
297 security issues in the Perl core, not for modules independently distributed on
298 CPAN.
299 .SH "SEE ALSO"
300 .IX Header "SEE ALSO"
301 The \fIChanges\fR file for an explanation of how to view exhaustive details on
302 what changed.
303 .PP
304 The \fIINSTALL\fR file for how to build Perl.
305 .PP
306 The \fIREADME\fR file for general stuff.
307 .PP
308 The \fIArtistic\fR and \fICopying\fR files for copyright information.