Debian Codegraph @

upstream/debian-unstable/man1/perl5141delta.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 "PERL5141DELTA 1"
58 .TH PERL5141DELTA 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 perl5141delta \- what is new for perl v5.14.1
65 .SH DESCRIPTION
66 .IX Header "DESCRIPTION"
67 This document describes differences between the 5.14.0 release and
68 the 5.14.1 release.
69 .PP
70 If you are upgrading from an earlier release such as 5.12.0, first read
71 perl5140delta, which describes differences between 5.12.0 and
72 5.14.0.
73 .SH "Core Enhancements"
74 .IX Header "Core Enhancements"
75 No changes since 5.14.0.
76 .SH Security
77 .IX Header "Security"
78 No changes since 5.14.0.
79 .SH "Incompatible Changes"
80 .IX Header "Incompatible Changes"
81 There are no changes intentionally incompatible with 5.14.0. If any
82 exist, they are bugs and reports are welcome.
83 .SH Deprecations
84 .IX Header "Deprecations"
85 There have been no deprecations since 5.14.0.
86 .SH "Modules and Pragmata"
87 .IX Header "Modules and Pragmata"
88 .SS "New Modules and Pragmata"
89 .IX Subsection "New Modules and Pragmata"
90 None
91 .SS "Updated Modules and Pragmata"
92 .IX Subsection "Updated Modules and Pragmata"
93 .IP \(bu 4
94 B::Deparse has been upgraded from version 1.03 to 1.04, to address two
95 regressions in Perl 5.14.0:
96 .Sp
97 Deparsing of the \f(CW\*(C`glob\*(C'\fR operator and its diamond (\f(CW\*(C`<>\*(C'\fR) form now
98 works again. [perl #90898]
99 .Sp
100 The presence of subroutines named \f(CW\*(C`::::\*(C'\fR or \f(CW\*(C`::::::\*(C'\fR no longer causes
101 B::Deparse to hang.
102 .IP \(bu 4
103 Pod::Perldoc has been upgraded from version 3.15_03 to 3.15_04.
104 .Sp
105 It corrects the search paths on VMS. [perl #90640]
106 .SS "Removed Modules and Pragmata"
107 .IX Subsection "Removed Modules and Pragmata"
108 None
109 .SH Documentation
110 .IX Header "Documentation"
111 .SS "New Documentation"
112 .IX Subsection "New Documentation"
113 None
114 .SS "Changes to Existing Documentation"
115 .IX Subsection "Changes to Existing Documentation"
116 \fIperlfunc\fR
117 .IX Subsection "perlfunc"
118 .IP \(bu 4
119 \&\f(CW\*(C`given\*(C'\fR, \f(CW\*(C`when\*(C'\fR and \f(CW\*(C`default\*(C'\fR are now listed in perlfunc.
120 .IP \(bu 4
121 Documentation for \f(CW\*(C`use\*(C'\fR now includes a pointer to \fIif.pm\fR.
122 .PP
123 \fIperllol\fR
124 .IX Subsection "perllol"
125 .IP \(bu 4
126 perllol has been expanded with examples using the new \f(CW\*(C`push $scalar\*(C'\fR
127 syntax introduced in Perl 5.14.0.
128 .PP
129 \fIperlop\fR
130 .IX Subsection "perlop"
131 .IP \(bu 4
132 The explanation of bitwise operators has been expanded to explain how they
133 work on Unicode strings.
134 .IP \(bu 4
135 The section on the triple-dot or yada-yada operator has been moved up, as
136 it used to separate two closely related sections about the comma operator.
137 .IP \(bu 4
138 More examples for \f(CW\*(C`m//g\*(C'\fR have been added.
139 .IP \(bu 4
140 The \f(CW\*(C`<<\eFOO\*(C'\fR here-doc syntax has been documented.
141 .PP
142 \fIperlrun\fR
143 .IX Subsection "perlrun"
144 .IP \(bu 4
145 perlrun has undergone a significant clean-up. Most notably, the
146 \&\fB\-0x...\fR form of the \fB\-0\fR flag has been clarified, and the final section
147 on environment variables has been corrected and expanded.
148 .PP
149 \fIPOSIX\fR
150 .IX Subsection "POSIX"
151 .IP \(bu 4
152 The invocation documentation for \f(CW\*(C`WIFEXITED\*(C'\fR, \f(CW\*(C`WEXITSTATUS\*(C'\fR,
153 \&\f(CW\*(C`WIFSIGNALED\*(C'\fR, \f(CW\*(C`WTERMSIG\*(C'\fR, \f(CW\*(C`WIFSTOPPED\*(C'\fR, and \f(CW\*(C`WSTOPSIG\*(C'\fR was corrected.
154 .SH Diagnostics
155 .IX Header "Diagnostics"
156 The following additions or changes have been made to diagnostic output,
157 including warnings and fatal error messages. For the complete list of
158 diagnostic messages, see perldiag.
159 .SS "New Diagnostics"
160 .IX Subsection "New Diagnostics"
161 None
162 .SS "Changes to Existing Diagnostics"
163 .IX Subsection "Changes to Existing Diagnostics"
164 None
165 .SH "Utility Changes"
166 .IX Header "Utility Changes"
167 None
168 .SH "Configuration and Compilation"
169 .IX Header "Configuration and Compilation"
170 .IP \(bu 4
171 \&\fIregexp.h\fR has been modified for compatibility with GCC's \f(CW\*(C`\-Werror\*(C'\fR
172 option, as used by some projects that include perl's header files.
173 .SH Testing
174 .IX Header "Testing"
175 .IP \(bu 4
176 Some test failures in \fIdist/Locale\-Maketext/t/09_compile.t\fR that could
177 occur depending on the environment have been fixed. [perl #89896]
178 .IP \(bu 4
179 A watchdog timer for \fIt/re/re.t\fR was lengthened to accommodate SH\-4 systems
180 which were unable to complete the tests before the previous timer ran out.
181 .SH "Platform Support"
182 .IX Header "Platform Support"
183 .SS "New Platforms"
184 .IX Subsection "New Platforms"
185 None
186 .SS "Discontinued Platforms"
187 .IX Subsection "Discontinued Platforms"
188 None
189 .SS "Platform-Specific Notes"
190 .IX Subsection "Platform-Specific Notes"
191 \fISolaris\fR
192 .IX Subsection "Solaris"
193 .IP \(bu 4
194 Documentation listing the Solaris packages required to build Perl on
195 Solaris 9 and Solaris 10 has been corrected.
196 .PP
197 \fIMac OS X\fR
198 .IX Subsection "Mac OS X"
199 .IP \(bu 4
200 The \fIlib/locale.t\fR test script has been updated to work on the upcoming
201 Lion release.
202 .IP \(bu 4
203 Mac OS X specific compilation instructions have been clarified.
204 .PP
205 \fIUbuntu Linux\fR
206 .IX Subsection "Ubuntu Linux"
207 .IP \(bu 4
208 The ODBM_File installation process has been updated with the new library
209 paths on Ubuntu natty.
210 .SH "Internal Changes"
211 .IX Header "Internal Changes"
212 .IP \(bu 4
213 The compiled representation of formats is now stored via the mg_ptr of
214 their PERL_MAGIC_fm. Previously it was stored in the string buffer,
215 beyond \fBSvLEN()\fR, the regular end of the string. \fBSvCOMPILED()\fR and
216 SvCOMPILED_{on,off}() now exist solely for compatibility for XS code.
217 The first is always 0, the other two now no-ops.
218 .SH "Bug Fixes"
219 .IX Header "Bug Fixes"
220 .IP \(bu 4
221 A bug has been fixed that would cause a "Use of freed value in iteration"
222 error if the next two hash elements that would be iterated over are
223 deleted. [perl #85026]
224 .IP \(bu 4
225 Passing the same constant subroutine to both \f(CW\*(C`index\*(C'\fR and \f(CW\*(C`formline\*(C'\fR no
226 longer causes one or the other to fail. [perl #89218]
227 .IP \(bu 4
228 5.14.0 introduced some memory leaks in regular expression character
229 classes such as \f(CW\*(C`[\ew\es]\*(C'\fR, which have now been fixed.
230 .IP \(bu 4
231 An edge case in regular expression matching could potentially loop.
232 This happened only under \f(CW\*(C`/i\*(C'\fR in bracketed character classes that have
233 characters with multi-character folds, and the target string to match
234 against includes the first portion of the fold, followed by another
235 character that has a multi-character fold that begins with the remaining
236 portion of the fold, plus some more.
237 .Sp
238 .Vb 1
239 \& "s\eN{U+DF}" =~ /[\ex{DF}foo]/i
240 .Ve
241 .Sp
242 is one such case. \f(CW\*(C`\exDF\*(C'\fR folds to \f(CW"ss"\fR.
243 .IP \(bu 4
244 Several Unicode case-folding bugs have been fixed.
245 .IP \(bu 4
246 The new (in 5.14.0) regular expression modifier \f(CW\*(C`/a\*(C'\fR when repeated like
247 \&\f(CW\*(C`/aa\*(C'\fR forbids the characters outside the ASCII range that match
248 characters inside that range from matching under \f(CW\*(C`/i\*(C'\fR. This did not
249 work under some circumstances, all involving alternation, such as:
250 .Sp
251 .Vb 1
252 \& "\eN{KELVIN SIGN}" =~ /k|foo/iaa;
253 .Ve
254 .Sp
255 succeeded inappropriately. This is now fixed.
256 .IP \(bu 4
257 Fixed a case where it was possible that a freed buffer may have been read
258 from when parsing a here document.
259 .SH Acknowledgements
260 .IX Header "Acknowledgements"
261 Perl 5.14.1 represents approximately four weeks of development since
262 Perl 5.14.0 and contains approximately 3500 lines of changes
263 across 38 files from 17 authors.
264 .PP
265 Perl continues to flourish into its third decade thanks to a vibrant
266 community of users and developers. The following people are known to
267 have contributed the improvements that became Perl 5.14.1:
268 .PP
269 Bo Lindbergh, Claudio Ramirez, Craig A. Berry, David Leadbeater, Father
270 Chrysostomos, Jesse Vincent, Jim Cromie, Justin Case, Karl Williamson,
271 Leo Lapworth, Nicholas Clark, Nobuhiro Iwamatsu, smash, Tom Christiansen,
272 Ton Hospel, Vladimir Timofeev, and Zsbán Ambrus.
273 .SH "Reporting Bugs"
274 .IX Header "Reporting Bugs"
275 If you find what you think is a bug, you might check the articles
276 recently posted to the comp.lang.perl.misc newsgroup and the perl
277 bug database at http://rt.perl.org/perlbug/ . There may also be
278 information at http://www.perl.org/ , the Perl Home Page.
279 .PP
280 If you believe you have an unreported bug, please run the perlbug
281 program included with your release. Be sure to trim your bug down
282 to a tiny but sufficient test case. Your bug report, along with the
283 output of \f(CW\*(C`perl \-V\*(C'\fR, will be sent off to [email protected] to be
284 analysed by the Perl porting team.
285 .PP
286 If the bug you are reporting has security implications, which make it
287 inappropriate to send to a publicly archived mailing list, then please send
288 it to perl5\-security\[email protected]. This points to a closed subscription
289 unarchived mailing list, which includes all the core committers, who be able
290 to help assess the impact of issues, figure out a resolution, and help
291 co-ordinate the release of patches to mitigate or fix the problem across all
292 platforms on which Perl is supported. Please only use this address for
293 security issues in the Perl core, not for modules independently
294 distributed on CPAN.
295 .SH "SEE ALSO"
296 .IX Header "SEE ALSO"
297 The \fIChanges\fR file for an explanation of how to view exhaustive details
298 on what changed.
299 .PP
300 The \fIINSTALL\fR file for how to build Perl.
301 .PP
302 The \fIREADME\fR file for general stuff.
303 .PP
304 The \fIArtistic\fR and \fICopying\fR files for copyright information.