Debian Codegraph @

upstream/debian-unstable/man1/perl5203delta.1

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