Debian Codegraph @

upstream/fedora-44/man1/perl5203delta.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 "PERL5203DELTA 1"
61 .TH PERL5203DELTA 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 perl5203delta \- what is new for perl v5.20.3
68 .SH DESCRIPTION
69 .IX Header "DESCRIPTION"
70 This document describes differences between the 5.20.2 release and the 5.20.3
71 release.
72 .PP
73 If you are upgrading from an earlier release such as 5.20.1, first read
74 perl5202delta, which describes differences between 5.20.1 and 5.20.2.
75 .SH "Incompatible Changes"
76 .IX Header "Incompatible Changes"
77 There are no changes intentionally incompatible with 5.20.2. If any exist,
78 they are bugs, and we request that you submit a report. See "Reporting Bugs"
79 below.
80 .SH "Modules and Pragmata"
81 .IX Header "Modules and Pragmata"
82 .SS "Updated Modules and Pragmata"
83 .IX Subsection "Updated Modules and Pragmata"
84 .IP \(bu 4
85 Errno has been upgraded from version 1.20_05 to 1.20_06.
86 .Sp
87 Add \fB\-P\fR to the pre\-processor command\-line on GCC 5. GCC added extra line
88 directives, breaking parsing of error code definitions.
89 [GH #14491] <https://github.com/Perl/perl5/issues/14491>
90 .IP \(bu 4
91 Module::CoreList has been upgraded from version 5.20150214 to 5.20150822.
92 .Sp
93 Updated to cover the latest releases of Perl.
94 .IP \(bu 4
95 perl5db.pl has been upgraded from 1.44 to 1.44_01.
96 .Sp
97 The debugger would cause an assertion failure.
98 [GH #14605] <https://github.com/Perl/perl5/issues/14605>
99 .SH Documentation
100 .IX Header "Documentation"
101 .SS "Changes to Existing Documentation"
102 .IX Subsection "Changes to Existing Documentation"
103 \fIperlfunc\fR
104 .IX Subsection "perlfunc"
105 .IP \(bu 4
106 Mention that \f(CWstudy()\fR is currently a no\-op.
107 .PP
108 \fIperlguts\fR
109 .IX Subsection "perlguts"
110 .IP \(bu 4
111 The OOK example has been updated to account for COW changes and a change in the
112 storage of the offset.
113 .PP
114 \fIperlhacktips\fR
115 .IX Subsection "perlhacktips"
116 .IP \(bu 4
117 Documentation has been added illustrating the perils of assuming the contents
118 of static memory pointed to by the return values of Perl wrappers for C library
119 functions doesn\*(Aqt change.
120 .PP
121 \fIperlpodspec\fR
122 .IX Subsection "perlpodspec"
123 .IP \(bu 4
124 The specification of the POD language is changing so that the default encoding
125 of PODs that aren\*(Aqt in UTF\-8 (unless otherwise indicated) is CP1252 instead of
126 ISO\-8859\-1 (Latin1).
127 .SH "Utility Changes"
128 .IX Header "Utility Changes"
129 .SS h2ph
130 .IX Subsection "h2ph"
131 .IP \(bu 4
132 \&\fBh2ph\fR now handles hexadecimal constants in the compiler\*(Aqs predefined macro
133 definitions, as visible in \f(CW$Config{cppsymbols}\fR.
134 [GH #14491] <https://github.com/Perl/perl5/issues/14491>
135 .SH Testing
136 .IX Header "Testing"
137 .IP \(bu 4
138 \&\fIt/perf/taint.t\fR has been added to see if optimisations with taint issues are
139 keeping things fast.
140 .IP \(bu 4
141 \&\fIt/porting/re_context.t\fR has been added to test that utf8 and its
142 dependencies only use the subset of the \f(CW\*(C`$1..$n\*(C'\fR capture vars that
143 \&\fBPerl_save_re_context()\fR is hard\-coded to localize, because that function has no
144 efficient way of determining at runtime what vars to localize.
145 .SH "Platform Support"
146 .IX Header "Platform Support"
147 .SS "Platform\-Specific Notes"
148 .IX Subsection "Platform-Specific Notes"
149 .IP Win32 4
150 .IX Item "Win32"
151 .RS 4
152 .PD 0
153 .IP \(bu 4
154 .PD
155 Previously, when compiling with a 64\-bit Visual C++, every Perl XS module
156 (including CPAN ones) and Perl aware C file would unconditionally have around a
157 dozen warnings from \fIhv_func.h\fR. These warnings have been silenced. GCC (all
158 bitness) and 32\-bit Visual C++ were not affected.
159 .IP \(bu 4
160 \&\fBminiperl.exe\fR is now built with \fB\-fno\-strict\-aliasing\fR, allowing 64\-bit
161 builds to complete with GCC 4.8.
162 [GH #14556] <https://github.com/Perl/perl5/issues/14556>
163 .RE
164 .RS 4
165 .RE
166 .SH "Selected Bug Fixes"
167 .IX Header "Selected Bug Fixes"
168 .IP \(bu 4
169 Repeated global pattern matches in scalar context on large tainted strings were
170 exponentially slow depending on the current match position in the string.
171 [GH #14238] <https://github.com/Perl/perl5/issues/14238>
172 .IP \(bu 4
173 The original visible value of \f(CW$/\fR is now preserved
174 when it is set to an invalid value. Previously if you set \f(CW$/\fR to a reference
175 to an array, for example, perl would produce a runtime error and not set PL_rs,
176 but Perl code that checked \f(CW$/\fR would see the array reference.
177 [GH #14245] <https://github.com/Perl/perl5/issues/14245>
178 .IP \(bu 4
179 Perl 5.14.0 introduced a bug whereby \f(CW\*(C`eval { LABEL: }\*(C'\fR would crash. This has
180 been fixed.
181 [GH #14438] <https://github.com/Perl/perl5/issues/14438>
182 .IP \(bu 4
183 Extending an array cloned from a parent thread could result in "Modification of
184 a read\-only value attempted" errors when attempting to modify the new elements.
185 [GH #14605] <https://github.com/Perl/perl5/issues/14605>
186 .IP \(bu 4
187 Several cases of data used to store environment variable contents in core C
188 code being potentially overwritten before being used have been fixed.
189 [GH #14476] <https://github.com/Perl/perl5/issues/14476>
190 .IP \(bu 4
191 UTF\-8 variable names used in array indexes, unquoted UTF\-8 HERE\-document
192 terminators and UTF\-8 function names all now work correctly.
193 [GH #14601] <https://github.com/Perl/perl5/issues/14601>
194 .IP \(bu 4
195 A subtle bug introduced in Perl 5.20.2 involving UTF\-8 in regular expressions
196 and sometimes causing a crash has been fixed. A new test script has been added
197 to test this fix; see under "Testing".
198 [GH #14600] <https://github.com/Perl/perl5/issues/14600>
199 .IP \(bu 4
200 Some patterns starting with \f(CW\*(C`/.*..../\*(C'\fR matched against long strings have been
201 slow since Perl 5.8, and some of the form \f(CW\*(C`/.*..../i\*(C'\fR have been slow since
202 Perl 5.18. They are now all fast again.
203 [GH #14475] <https://github.com/Perl/perl5/issues/14475>
204 .IP \(bu 4
205 Warning fatality is now ignored when rewinding the stack. This prevents
206 infinite recursion when the now fatal error also causes rewinding of the stack.
207 [GH #14319] <https://github.com/Perl/perl5/issues/14319>
208 .IP \(bu 4
209 \&\f(CWsetpgrp($nonzero)\fR (with one argument) was accidentally changed in Perl 5.16
210 to mean \f(CWsetpgrp(0)\fR. This has been fixed.
211 .IP \(bu 4
212 A crash with \f(CW\*(C`%::=(); J\->${\e"::"}\*(C'\fR has been fixed.
213 [GH #14790] <https://github.com/Perl/perl5/issues/14790>
214 .IP \(bu 4
215 Regular expression possessive quantifier Perl 5.20 regression now fixed.
216 \&\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
217 \&\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
218 if \fImin\fR and \fImax\fR were equal.
219 [GH #14857] <https://github.com/Perl/perl5/issues/14857>
220 .IP \(bu 4
221 Code like \f(CW\*(C`/$a[/\*(C'\fR used to read the next line of input and treat it as though
222 it came immediately after the opening bracket. Some invalid code consequently
223 would parse and run, but some code caused crashes, so this is now disallowed.
224 [GH #14462] <https://github.com/Perl/perl5/issues/14462>
225 .SH Acknowledgements
226 .IX Header "Acknowledgements"
227 Perl 5.20.3 represents approximately 7 months of development since Perl 5.20.2
228 and contains approximately 3,200 lines of changes across 99 files from 26
229 authors.
230 .PP
231 Excluding auto\-generated files, documentation and release tools, there were
232 approximately 1,500 lines of changes to 43 .pm, .t, .c and .h files.
233 .PP
234 Perl continues to flourish into its third decade thanks to a vibrant community
235 of users and developers. The following people are known to have contributed
236 the improvements that became Perl 5.20.3:
237 .PP
238 Alex Vandiver, Andy Dougherty, Aristotle Pagaltzis, Chris \*(AqBinGOs\*(Aq Williams,
239 Craig A. Berry, Dagfinn Ilmari Mannsåker, Daniel Dragan, David Mitchell,
240 Father Chrysostomos, H.Merijn Brand, James E Keenan, James McCoy, Jarkko
241 Hietaniemi, Karen Etheridge, Karl Williamson, kmx, Lajos Veres, Lukas Mai,
242 Matthew Horsfall, Petr Písař, Randy Stauner, Ricardo Signes, Sawyer X, Steve
243 Hay, Tony Cook, Yves Orton.
244 .PP
245 The list above is almost certainly incomplete as it is automatically generated
246 from version control history. In particular, it does not include the names of
247 the (very much appreciated) contributors who reported issues to the Perl bug
248 tracker.
249 .PP
250 Many of the changes included in this version originated in the CPAN modules
251 included in Perl\*(Aqs core. We\*(Aqre grateful to the entire CPAN community for
252 helping Perl to flourish.
253 .PP
254 For a more complete list of all of Perl\*(Aqs historical contributors, please see
255 the \fIAUTHORS\fR file in the Perl source distribution.
256 .SH "Reporting Bugs"
257 .IX Header "Reporting Bugs"
258 If you find what you think is a bug, you might check the articles recently
259 posted to the comp.lang.perl.misc newsgroup and the perl bug database at
260 https://rt.perl.org/ . There may also be information at
261 http://www.perl.org/ , the Perl Home Page.
262 .PP
263 If you believe you have an unreported bug, please run the perlbug program
264 included with your release. Be sure to trim your bug down to a tiny but
265 sufficient test case. Your bug report, along with the output of \f(CW\*(C`perl \-V\*(C'\fR,
266 will be sent off to [email protected] to be analysed by the Perl porting team.
267 .PP
268 If the bug you are reporting has security implications, which make it
269 inappropriate to send to a publicly archived mailing list, then please send it
270 to perl5\-security\[email protected]. This points to a closed subscription
271 unarchived mailing list, which includes all the core committers, who will be
272 able to help assess the impact of issues, figure out a resolution, and help
273 co\-ordinate the release of patches to mitigate or fix the problem across all
274 platforms on which Perl is supported. Please only use this address for
275 security issues in the Perl core, not for modules independently distributed on
276 CPAN.
277 .SH "SEE ALSO"
278 .IX Header "SEE ALSO"
279 The \fIChanges\fR file for an explanation of how to view exhaustive details on
280 what changed.
281 .PP
282 The \fIINSTALL\fR file for how to build Perl.
283 .PP
284 The \fIREADME\fR file for general stuff.
285 .PP
286 The \fIArtistic\fR and \fICopying\fR files for copyright information.