Debian Codegraph @

upstream/debian-unstable/man1/perl5121delta.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 "PERL5121DELTA 1"
58 .TH PERL5121DELTA 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 perl5121delta \- what is new for perl v5.12.1
65 .SH DESCRIPTION
66 .IX Header "DESCRIPTION"
67 This document describes differences between the 5.12.0 release and
68 the 5.12.1 release.
69 .PP
70 If you are upgrading from an earlier release such as 5.10.1, first read
71 perl5120delta, which describes differences between 5.10.0 and
72 5.12.0.
73 .SH "Incompatible Changes"
74 .IX Header "Incompatible Changes"
75 There are no changes intentionally incompatible with 5.12.0. If any
76 incompatibilities with 5.12.0 exist, they are bugs. Please report them.
77 .SH "Core Enhancements"
78 .IX Header "Core Enhancements"
79 Other than the bug fixes listed below, there should be no user-visible
80 changes to the core language in this release.
81 .SH "Modules and Pragmata"
82 .IX Header "Modules and Pragmata"
83 .SS "Pragmata Changes"
84 .IX Subsection "Pragmata Changes"
85 .IP \(bu 4
86 We fixed exporting of \f(CW\*(C`is_strict\*(C'\fR and \f(CW\*(C`is_lax\*(C'\fR from version.
87 .Sp
88 These were being exported with a wrapper that treated them as method
89 calls, which caused them to fail. They are just functions, are
90 documented as such, and should never be subclassed, so this patch
91 just exports them directly as functions without the wrapper.
92 .SS "Updated Modules"
93 .IX Subsection "Updated Modules"
94 .IP \(bu 4
95 We upgraded CGI to version 3.49 to incorporate fixes for regressions
96 introduced in the release we shipped with Perl 5.12.0.
97 .IP \(bu 4
98 We upgraded Pod::Simple to version 3.14 to get an improvement to \eC\e<\e< \e>\e>
99 parsing.
100 .IP \(bu 4
101 We made a small fix to the CPANPLUS test suite to fix an occasional spurious test failure.
102 .IP \(bu 4
103 We upgraded Safe to version 2.27 to wrap coderefs returned by \f(CWreval()\fR and \f(CWrdo()\fR.
104 .SH "Changes to Existing Documentation"
105 .IX Header "Changes to Existing Documentation"
106 .IP \(bu 4
107 We added the new maintenance release policy to perlpolicy
108 .IP \(bu 4
109 We've clarified the multiple-angle-bracket construct in the spec for POD
110 in perlpodspec
111 .IP \(bu 4
112 We added a missing explanation for a warning about \f(CW\*(C`:=\*(C'\fR to perldiag
113 .IP \(bu 4
114 We removed a false claim in perlunitut that all text strings are Unicode strings in Perl.
115 .IP \(bu 4
116 We updated the GitHub mirror link in perlrepository to mirrors/perl, not github/perl
117 .IP \(bu 4
118 We fixed a minor error in perl5114delta.
119 .IP \(bu 4
120 We replaced a mention of the now-obsolete Switch with \fIgiven\fR/\fIwhen\fR.
121 .IP \(bu 4
122 We improved documentation about \fR\f(CI$sitelibexp\fR\fI/sitecustomize.pl\fR in perlrun.
123 .IP \(bu 4
124 We corrected perlmodlib which had unintentionally omitted a number of modules.
125 .IP \(bu 4
126 We updated the documentation for 'require' in perlfunc relating to putting Perl code in \f(CW@INC\fR.
127 .IP \(bu 4
128 We reinstated some erroneously-removed documentation about quotemeta in perlfunc.
129 .IP \(bu 4
130 We fixed an \fIa2p\fR example in perlutil.
131 .IP \(bu 4
132 We filled in a blank in perlport with the release date of Perl 5.12.
133 .IP \(bu 4
134 We fixed broken links in a number of perldelta files.
135 .IP \(bu 4
136 The documentation for Carp incorrectly stated that the \f(CW$Carp::Verbose\fR
137 variable makes cluck generate stack backtraces.
138 .IP \(bu 4
139 We fixed a number of typos in Pod::Functions
140 .IP \(bu 4
141 We improved documentation of case-changing functions in perlfunc
142 .IP \(bu 4
143 We corrected perlgpl to contain the correct version of the GNU
144 General Public License.
145 .SH Testing
146 .IX Header "Testing"
147 .SS "Testing Improvements"
148 .IX Subsection "Testing Improvements"
149 .IP \(bu 4
150 \&\fIt/op/sselect.t\fR is now less prone to clock jitter during timing checks
151 on Windows.
152 .Sp
153 \&\fBsleep()\fR time on Win32 may be rounded down to multiple of
154 the clock tick interval.
155 .IP \(bu 4
156 \&\fIlib/blib.t\fR and \fIlib/locale.t\fR: Fixes for test failures on Darwin/PPC
157 .IP \(bu 4
158 \&\fIperl5db.t\fR: Fix for test failures when \f(CW\*(C`Term::ReadLine::Gnu\*(C'\fR is installed.
159 .SH "Installation and Configuration Improvements"
160 .IX Header "Installation and Configuration Improvements"
161 .SS "Configuration improvements"
162 .IX Subsection "Configuration improvements"
163 .IP \(bu 4
164 We updated \fIINSTALL\fR with notes about how to deal with broken \fIdbm.h\fR
165 on OpenSUSE (and possibly other platforms)
166 .SH "Bug Fixes"
167 .IX Header "Bug Fixes"
168 .IP \(bu 4
169 A bug in how we process filetest operations could cause a segfault.
170 Filetests don't always expect an op on the stack, so we now use
171 TOPs only if we're sure that we're not stat'ing the _ filehandle.
172 This is indicated by OPf_KIDS (as checked in ck_ftst).
173 .Sp
174 See also: <https://github.com/Perl/perl5/issues/10335>
175 .IP \(bu 4
176 When deparsing a nextstate op that has both a change of package (relative
177 to the previous nextstate) and a label, the package declaration is now
178 emitted first, because it is syntactically impermissible for a label to
179 prefix a package declaration.
180 .IP \(bu 4
181 XSUB.h now correctly redefines fgets under PERL_IMPLICIT_SYS
182 .Sp
183 See also: <http://rt.cpan.org/Public/Bug/Display.html?id=55049>
184 .IP \(bu 4
185 utf8::is_utf8 now respects GMAGIC (e.g. \f(CW$1\fR)
186 .IP \(bu 4
187 XS code using \f(CWfputc()\fR or \f(CWfputs()\fR: on Windows could cause an error
188 due to their arguments being swapped.
189 .Sp
190 See also: <https://github.com/Perl/perl5/issues/10156>
191 .IP \(bu 4
192 We fixed a small bug in \fBlex_stuff_pvn()\fR that caused spurious syntax errors
193 in an obscure situation. It happened when stuffing was performed on the
194 last line of a file and the line ended with a statement that lacked a
195 terminating semicolon.
196 .Sp
197 See also: <https://github.com/Perl/perl5/issues/10273>
198 .IP \(bu 4
199 We fixed a bug that could cause \eN{} constructs followed by a single . to
200 be parsed incorrectly.
201 .Sp
202 See also: <https://github.com/Perl/perl5/issues/10367>
203 .IP \(bu 4
204 We fixed a bug that caused when(scalar) without an argument not to be
205 treated as a syntax error.
206 .Sp
207 See also: <https://github.com/Perl/perl5/issues/10287>
208 .IP \(bu 4
209 We fixed a regression in the handling of labels immediately before string
210 evals that was introduced in Perl 5.12.0.
211 .Sp
212 See also: <https://github.com/Perl/perl5/issues/10301>
213 .IP \(bu 4
214 We fixed a regression in case-insensitive matching of folded characters
215 in regular expressions introduced in Perl 5.10.1.
216 .Sp
217 See also: <https://github.com/Perl/perl5/issues/10193>
218 .SH "Platform Specific Notes"
219 .IX Header "Platform Specific Notes"
220 .SS HP-UX
221 .IX Subsection "HP-UX"
222 .IP \(bu 4
223 Perl now allows \-Duse64bitint without promoting to use64bitall on HP-UX
224 .SS AIX
225 .IX Subsection "AIX"
226 .IP \(bu 4
227 Perl now builds on AIX 4.2
228 .Sp
229 The changes required work around AIX 4.2s' lack of support for IPv6,
230 and limited support for POSIX \f(CWsigaction()\fR.
231 .SS "FreeBSD 7"
232 .IX Subsection "FreeBSD 7"
233 .IP \(bu 4
234 FreeBSD 7 no longer contains \fI/usr/bin/objformat\fR. At build time,
235 Perl now skips the \fIobjformat\fR check for versions 7 and higher and
236 assumes ELF.
237 .SS VMS
238 .IX Subsection "VMS"
239 .IP \(bu 4
240 It's now possible to build extensions on older (pre 7.3\-2) VMS systems.
241 .Sp
242 DCL symbol length was limited to 1K up until about seven years or
243 so ago, but there was no particularly deep reason to prevent those
244 older systems from configuring and building Perl.
245 .IP \(bu 4
246 We fixed the previously-broken \f(CW\*(C`\-Uuseperlio\*(C'\fR build on VMS.
247 .Sp
248 We were checking a variable that doesn't exist in the non-default
249 case of disabling perlio. Now we only look at it when it exists.
250 .IP \(bu 4
251 We fixed the \-Uuseperlio command-line option in configure.com.
252 .Sp
253 Formerly it only worked if you went through all the questions
254 interactively and explicitly answered no.
255 .SH "Known Problems"
256 .IX Header "Known Problems"
257 .IP \(bu 4
258 \&\f(CW\*(C`List::Util::first\*(C'\fR misbehaves in the presence of a lexical \f(CW$_\fR
259 (typically introduced by \f(CW\*(C`my $_\*(C'\fR or implicitly by \f(CW\*(C`given\*(C'\fR). The variable
260 which gets set for each iteration is the package variable \f(CW$_\fR, not the
261 lexical \f(CW$_\fR.
262 .Sp
263 A similar issue may occur in other modules that provide functions which
264 take a block as their first argument, like
265 .Sp
266 .Vb 1
267 \& foo { ... $_ ...} list
268 .Ve
269 .Sp
270 See also: <https://github.com/Perl/perl5/issues/9798>
271 .IP \(bu 4
272 \&\f(CW\*(C`Module::Load::Conditional\*(C'\fR and \f(CW\*(C`version\*(C'\fR have an unfortunate
273 interaction which can cause \f(CW\*(C`CPANPLUS\*(C'\fR to crash when it encounters
274 an unparseable version string. Upgrading to \f(CW\*(C`CPANPLUS\*(C'\fR 0.9004 or
275 \&\f(CW\*(C`Module::Load::Conditional\*(C'\fR 0.38 from CPAN will resolve this issue.
276 .SH Acknowledgements
277 .IX Header "Acknowledgements"
278 Perl 5.12.1 represents approximately four weeks of development since
279 Perl 5.12.0 and contains approximately 4,000 lines of changes
280 across 142 files from 28 authors.
281 .PP
282 Perl continues to flourish into its third decade thanks to a vibrant
283 community of users and developers. The following people are known to
284 have contributed the improvements that became Perl 5.12.1:
285 .PP
286 Ævar Arnfjörð Bjarmason, Chris Williams, chromatic, Craig A. Berry,
287 David Golden, Father Chrysostomos, Florian Ragwitz, Frank Wiegand,
288 Gene Sullivan, Goro Fuji, H.Merijn Brand, James E Keenan, Jan Dubois,
289 Jesse Vincent, Josh ben Jore, Karl Williamson, Leon Brocard, Michael
290 Schwern, Nga Tang Chan, Nicholas Clark, Niko Tyni, Philippe Bruhat,
291 Rafael Garcia-Suarez, Ricardo Signes, Steffen Mueller, Todd Rinaldo,
292 Vincent Pit and Zefram.
293 .SH "Reporting Bugs"
294 .IX Header "Reporting Bugs"
295 If you find what you think is a bug, you might check the articles
296 recently posted to the comp.lang.perl.misc newsgroup and the perl
297 bug database at http://rt.perl.org/perlbug/ . There may also be
298 information at http://www.perl.org/ , the Perl Home Page.
299 .PP
300 If you believe you have an unreported bug, please run the \fBperlbug\fR
301 program included with your release. Be sure to trim your bug down
302 to a tiny but sufficient test case. Your bug report, along with the
303 output of \f(CW\*(C`perl \-V\*(C'\fR, will be sent off to [email protected] to be
304 analysed by the Perl porting team.
305 .PP
306 If the bug you are reporting has security implications, which make it
307 inappropriate to send to a publicly archived mailing list, then please send
308 it to perl5\-security\[email protected]. This points to a closed subscription
309 unarchived mailing list, which includes
310 all the core committers, who will be able
311 to help assess the impact of issues, figure out a resolution, and help
312 co-ordinate the release of patches to mitigate or fix the problem across all
313 platforms on which Perl is supported. Please only use this address for
314 security issues in the Perl core, not for modules independently
315 distributed on CPAN.
316 .SH "SEE ALSO"
317 .IX Header "SEE ALSO"
318 The \fIChanges\fR file for an explanation of how to view exhaustive details
319 on what changed.
320 .PP
321 The \fIINSTALL\fR file for how to build Perl.
322 .PP
323 The \fIREADME\fR file for general stuff.
324 .PP
325 The \fIArtistic\fR and \fICopying\fR files for copyright information.