Debian Codegraph @

upstream/mageia-cauldron/man1/perl5201delta.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 "PERL5201DELTA 1"
61 .TH PERL5201DELTA 1 2023-12-22 "perl v5.42.0" "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 perl5201delta \- what is new for perl v5.20.1
68 .SH DESCRIPTION
69 .IX Header "DESCRIPTION"
70 This document describes differences between the 5.20.0 release and the 5.20.1
71 release.
72 .PP
73 If you are upgrading from an earlier release such as 5.18.0, first read
74 perl5200delta, which describes differences between 5.18.0 and 5.20.0.
75 .SH "Incompatible Changes"
76 .IX Header "Incompatible Changes"
77 There are no changes intentionally incompatible with 5.20.0. If any exist,
78 they are bugs, and we request that you submit a report. See "Reporting Bugs"
79 below.
80 .SH "Performance Enhancements"
81 .IX Header "Performance Enhancements"
82 .IP \(bu 4
83 An optimization to avoid problems with COW and deliberately overallocated PVs
84 has been disabled because it interfered with another, more important,
85 optimization, causing a slowdown on some platforms.
86 [GH #13878] <https://github.com/Perl/perl5/issues/13878>
87 .IP \(bu 4
88 Returning a string from a lexical variable could be slow in some cases. This
89 has now been fixed.
90 [GH #13880] <https://github.com/Perl/perl5/issues/13880>
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 Config::Perl::V has been upgraded from version 0.20 to 0.22.
97 .Sp
98 The list of Perl versions covered has been updated and some flaws in the
99 parsing have been fixed.
100 .IP \(bu 4
101 Exporter has been upgraded from version 5.70 to 5.71.
102 .Sp
103 Illegal POD syntax in the documentation has been corrected.
104 .IP \(bu 4
105 ExtUtils::CBuilder has been upgraded from version 0.280216 to 0.280217.
106 .Sp
107 Android builds now link to both \fB\-lperl\fR and \f(CW$Config::Config{perllibs}\fR.
108 .IP \(bu 4
109 File::Copy has been upgraded from version 2.29 to 2.30.
110 .Sp
111 The documentation now notes that \f(CW\*(C`copy\*(C'\fR will not overwrite read\-only files.
112 .IP \(bu 4
113 Module::CoreList has been upgraded from version 3.11 to 5.020001.
114 .Sp
115 The list of Perl versions covered has been updated.
116 .IP \(bu 4
117 The PathTools module collection has been upgraded from version 3.47 to 3.48.
118 .Sp
119 Fallbacks are now in place when cross\-compiling for Android and
120 \&\f(CW$Config::Config{sh}\fR is not yet defined.
121 [GH #13872] <https://github.com/Perl/perl5/issues/13872>
122 .IP \(bu 4
123 PerlIO::via has been upgraded from version 0.14 to 0.15.
124 .Sp
125 A minor portability improvement has been made to the XS implementation.
126 .IP \(bu 4
127 Unicode::UCD has been upgraded from version 0.57 to 0.58.
128 .Sp
129 The documentation includes many clarifications and fixes.
130 .IP \(bu 4
131 utf8 has been upgraded from version 1.13 to 1.13_01.
132 .Sp
133 The documentation has some minor formatting improvements.
134 .IP \(bu 4
135 version has been upgraded from version 0.9908 to 0.9909.
136 .Sp
137 External libraries and Perl may have different ideas of what the locale is.
138 This is problematic when parsing version strings if the locale\*(Aqs numeric
139 separator has been changed. Version parsing has been patched to ensure it
140 handles the locales correctly.
141 [GH #13863] <https://github.com/Perl/perl5/issues/13863>
142 .SH Documentation
143 .IX Header "Documentation"
144 .SS "Changes to Existing Documentation"
145 .IX Subsection "Changes to Existing Documentation"
146 \fIperlapi\fR
147 .IX Subsection "perlapi"
148 .IP \(bu 4
149 \&\f(CW\*(C`av_len\*(C'\fR \- Emphasize that this returns the highest index in the array, not the
150 size of the array.
151 [GH #13377] <https://github.com/Perl/perl5/issues/13377>
152 .IP \(bu 4
153 Note that \f(CW\*(C`SvSetSV\*(C'\fR doesn\*(Aqt do set magic.
154 .IP \(bu 4
155 \&\f(CW\*(C`sv_usepvn_flags\*(C'\fR \- Fix documentation to mention the use of \f(CW\*(C`NewX\*(C'\fR instead of
156 \&\f(CW\*(C`malloc\*(C'\fR.
157 [GH #13835] <https://github.com/Perl/perl5/issues/13835>
158 .IP \(bu 4
159 Clarify where \f(CW\*(C`NUL\*(C'\fR may be embedded or is required to terminate a string.
160 .PP
161 \fIperlfunc\fR
162 .IX Subsection "perlfunc"
163 .IP \(bu 4
164 Clarify the meaning of \f(CW\*(C`\-B\*(C'\fR and \f(CW\*(C`\-T\*(C'\fR.
165 .IP \(bu 4
166 \&\f(CW\*(C`\-l\*(C'\fR now notes that it will return false if symlinks aren\*(Aqt supported by the
167 file system.
168 [GH #13695] <https://github.com/Perl/perl5/issues/13695>
169 .IP \(bu 4
170 Note that \f(CW\*(C`each\*(C'\fR, \f(CW\*(C`keys\*(C'\fR and \f(CW\*(C`values\*(C'\fR may produce different orderings for
171 tied hashes compared to other perl hashes.
172 [GH #13650] <https://github.com/Perl/perl5/issues/13650>
173 .IP \(bu 4
174 Note that \f(CW\*(C`exec LIST\*(C'\fR and \f(CW\*(C`system LIST\*(C'\fR may fall back to the shell on Win32.
175 Only \f(CW\*(C`exec PROGRAM LIST\*(C'\fR and \f(CW\*(C`system PROGRAM LIST\*(C'\fR indirect object syntax
176 will reliably avoid using the shell. This has also been noted in perlport.
177 [GH #13907] <https://github.com/Perl/perl5/issues/13907>
178 .IP \(bu 4
179 Clarify the meaning of \f(CW\*(C`our\*(C'\fR.
180 [GH #13938] <https://github.com/Perl/perl5/issues/13938>
181 .PP
182 \fIperlguts\fR
183 .IX Subsection "perlguts"
184 .IP \(bu 4
185 Explain various ways of modifying an existing SV\*(Aqs buffer.
186 [GH #12813] <https://github.com/Perl/perl5/issues/12813>
187 .PP
188 \fIperlpolicy\fR
189 .IX Subsection "perlpolicy"
190 .IP \(bu 4
191 We now have a code of conduct for the \fIp5p\fR mailing list, as documented in
192 "STANDARDS OF CONDUCT" in perlpolicy.
193 .PP
194 \fIperlre\fR
195 .IX Subsection "perlre"
196 .IP \(bu 4
197 The \f(CW\*(C`/x\*(C'\fR modifier has been clarified to note that comments cannot be continued
198 onto the next line by escaping them.
199 .PP
200 \fIperlsyn\fR
201 .IX Subsection "perlsyn"
202 .IP \(bu 4
203 Mention the use of empty conditionals in \f(CW\*(C`for\*(C'\fR/\f(CW\*(C`while\*(C'\fR loops for infinite
204 loops.
205 .PP
206 \fIperlxs\fR
207 .IX Subsection "perlxs"
208 .IP \(bu 4
209 Added a discussion of locale issues in XS code.
210 .SH Diagnostics
211 .IX Header "Diagnostics"
212 The following additions or changes have been made to diagnostic output,
213 including warnings and fatal error messages. For the complete list of
214 diagnostic messages, see perldiag.
215 .SS "Changes to Existing Diagnostics"
216 .IX Subsection "Changes to Existing Diagnostics"
217 .IP \(bu 4
218 Variable length lookbehind not implemented in regex m/%s/
219 .Sp
220 Information about Unicode behaviour has been added.
221 .SH "Configuration and Compilation"
222 .IX Header "Configuration and Compilation"
223 .IP \(bu 4
224 Building Perl no longer writes to the source tree when configured with
225 \&\fIConfigure\fR\*(Aqs \fB\-Dmksymlinks\fR option.
226 [GH #13712] <https://github.com/Perl/perl5/issues/13712>
227 .SH "Platform Support"
228 .IX Header "Platform Support"
229 .SS "Platform\-Specific Notes"
230 .IX Subsection "Platform-Specific Notes"
231 .IP Android 4
232 .IX Item "Android"
233 Build support has been improved for cross\-compiling in general and for Android
234 in particular.
235 .IP OpenBSD 4
236 .IX Item "OpenBSD"
237 Corrected architectures and version numbers used in configuration hints when
238 building Perl.
239 .IP Solaris 4
240 .IX Item "Solaris"
241 \&\fBc99\fR options have been cleaned up, hints look for \fBsolstudio\fR as well as
242 \&\fBSUNWspro\fR, and support for native \f(CW\*(C`setenv\*(C'\fR has been added.
243 .IP VMS 4
244 .IX Item "VMS"
245 An old bug in feature checking, mainly affecting pre\-7.3 systems, has been
246 fixed.
247 .IP Windows 4
248 .IX Item "Windows"
249 \&\f(CW%I64d\fR is now being used instead of \f(CW%lld\fR for MinGW.
250 .SH "Internal Changes"
251 .IX Header "Internal Changes"
252 .IP \(bu 4
253 Added "sync_locale" in perlapi.
254 Changing the program\*(Aqs locale should be avoided by XS code. Nevertheless,
255 certain non\-Perl libraries called from XS, such as \f(CW\*(C`Gtk\*(C'\fR do so. When this
256 happens, Perl needs to be told that the locale has changed. Use this function
257 to do so, before returning to Perl.
258 .SH "Selected Bug Fixes"
259 .IX Header "Selected Bug Fixes"
260 .IP \(bu 4
261 A bug has been fixed where zero\-length assertions and code blocks inside of a
262 regex could cause \f(CW\*(C`pos\*(C'\fR to see an incorrect value.
263 [GH #14016] <https://github.com/Perl/perl5/issues/14016>
264 .IP \(bu 4
265 Using \f(CW\*(C`s///e\*(C'\fR on tainted utf8 strings could issue bogus "Malformed UTF\-8
266 character (unexpected end of string)" warnings. This has now been fixed.
267 [GH #13948] <https://github.com/Perl/perl5/issues/13948>
268 .IP \(bu 4
269 \&\f(CW\*(C`system\*(C'\fR and friends should now work properly on more Android builds.
270 .Sp
271 Due to an oversight, the value specified through \fB\-Dtargetsh\fR to \fIConfigure\fR
272 would end up being ignored by some of the build process. This caused perls
273 cross\-compiled for Android to end up with defective versions of \f(CW\*(C`system\*(C'\fR,
274 \&\f(CW\*(C`exec\*(C'\fR and backticks: the commands would end up looking for \fI/bin/sh\fR instead
275 of \fI/system/bin/sh\fR, and so would fail for the vast majority of devices,
276 leaving \f(CW$!\fR as \f(CW\*(C`ENOENT\*(C'\fR.
277 .IP \(bu 4
278 Many issues have been detected by Coverity <http://www.coverity.com/> and
279 fixed.
280 .SH Acknowledgements
281 .IX Header "Acknowledgements"
282 Perl 5.20.1 represents approximately 4 months of development since Perl 5.20.0
283 and contains approximately 12,000 lines of changes across 170 files from 36
284 authors.
285 .PP
286 Excluding auto\-generated files, documentation and release tools, there were
287 approximately 2,600 lines of changes to 110 .pm, .t, .c and .h files.
288 .PP
289 Perl continues to flourish into its third decade thanks to a vibrant community
290 of users and developers. The following people are known to have contributed
291 the improvements that became Perl 5.20.1:
292 .PP
293 Aaron Crane, Abigail, Alberto Simões, Alexandr Ciornii, Alexandre (Midnite)
294 Jousset, Andrew Fresh, Andy Dougherty, Brian Fraser, Chris \*(AqBinGOs\*(Aq Williams,
295 Craig A. Berry, Daniel Dragan, David Golden, David Mitchell, H.Merijn Brand,
296 James E Keenan, Jan Dubois, Jarkko Hietaniemi, John Peacock, kafka, Karen
297 Etheridge, Karl Williamson, Lukas Mai, Matthew Horsfall, Michael Bunk, Peter
298 Martini, Rafael Garcia\-Suarez, Reini Urban, Ricardo Signes, Shirakata Kentaro,
299 Smylers, Steve Hay, Thomas Sibley, Todd Rinaldo, Tony Cook, Vladimir Marek,
300 Yves Orton.
301 .PP
302 The list above is almost certainly incomplete as it is automatically generated
303 from version control history. In particular, it does not include the names of
304 the (very much appreciated) contributors who reported issues to the Perl bug
305 tracker.
306 .PP
307 Many of the changes included in this version originated in the CPAN modules
308 included in Perl\*(Aqs core. We\*(Aqre grateful to the entire CPAN community for
309 helping Perl to flourish.
310 .PP
311 For a more complete list of all of Perl\*(Aqs historical contributors, please see
312 the \fIAUTHORS\fR file in the Perl source distribution.
313 .SH "Reporting Bugs"
314 .IX Header "Reporting Bugs"
315 If you find what you think is a bug, you might check the articles recently
316 posted to the comp.lang.perl.misc newsgroup and the perl bug database at
317 https://rt.perl.org/ . There may also be information at http://www.perl.org/ ,
318 the Perl Home Page.
319 .PP
320 If you believe you have an unreported bug, please run the perlbug program
321 included with your release. Be sure to trim your bug down to a tiny but
322 sufficient test case. Your bug report, along with the output of \f(CW\*(C`perl \-V\*(C'\fR,
323 will be sent off to [email protected] to be analysed by the Perl porting team.
324 .PP
325 If the bug you are reporting has security implications, which make it
326 inappropriate to send to a publicly archived mailing list, then please send it
327 to perl5\-security\[email protected]. This points to a closed subscription
328 unarchived mailing list, which includes all the core committers, who will be
329 able to help assess the impact of issues, figure out a resolution, and help
330 co\-ordinate the release of patches to mitigate or fix the problem across all
331 platforms on which Perl is supported. Please only use this address for
332 security issues in the Perl core, not for modules independently distributed on
333 CPAN.
334 .SH "SEE ALSO"
335 .IX Header "SEE ALSO"
336 The \fIChanges\fR file for an explanation of how to view exhaustive details on
337 what changed.
338 .PP
339 The \fIINSTALL\fR file for how to build Perl.
340 .PP
341 The \fIREADME\fR file for general stuff.
342 .PP
343 The \fIArtistic\fR and \fICopying\fR files for copyright information.