Debian Codegraph @

upstream/fedora-44/man1/perl5181delta.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 "PERL5181DELTA 1"
61 .TH PERL5181DELTA 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 perl5181delta \- what is new for perl v5.18.1
68 .SH DESCRIPTION
69 .IX Header "DESCRIPTION"
70 This document describes differences between the 5.18.0 release and the 5.18.1
71 release.
72 .PP
73 If you are upgrading from an earlier release such as 5.16.0, first read
74 perl5180delta, which describes differences between 5.16.0 and 5.18.0.
75 .SH "Incompatible Changes"
76 .IX Header "Incompatible Changes"
77 There are no changes intentionally incompatible with 5.18.0
78 If any exist, they are bugs, and we request that you submit a
79 report. See "Reporting Bugs" 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 B has been upgraded from 1.42 to 1.42_01, fixing bugs related to lexical
86 subroutines.
87 .IP \(bu 4
88 Digest::SHA has been upgraded from 5.84 to 5.84_01, fixing a crashing bug.
89 [RT #118649]
90 .IP \(bu 4
91 Module::CoreList has been upgraded from 2.89 to 2.96.
92 .SH "Platform Support"
93 .IX Header "Platform Support"
94 .SS "Platform\-Specific Notes"
95 .IX Subsection "Platform-Specific Notes"
96 .IP AIX 4
97 .IX Item "AIX"
98 A rarely\-encountered configuration bug in the AIX hints file has been corrected.
99 .IP MidnightBSD 4
100 .IX Item "MidnightBSD"
101 After a patch to the relevant hints file, perl should now build correctly on
102 MidnightBSD 0.4\-RELEASE.
103 .SH "Selected Bug Fixes"
104 .IX Header "Selected Bug Fixes"
105 .IP \(bu 4
106 Starting in v5.18.0, a construct like \f(CW\*(C`/[#](?{})/x\*(C'\fR would have its \f(CW\*(C`#\*(C'\fR
107 incorrectly interpreted as a comment. The code block would be skipped,
108 unparsed. This has been corrected.
109 .IP \(bu 4
110 A number of memory leaks related to the new, experimental regexp bracketed
111 character class feature have been plugged.
112 .IP \(bu 4
113 The OP allocation code now returns correctly aligned memory in all cases
114 for \f(CW\*(C`struct pmop\*(C'\fR. Previously it could return memory only aligned to a
115 4\-byte boundary, which is not correct for an ithreads build with 64 bit IVs
116 on some 32 bit platforms. Notably, this caused the build to fail completely
117 on sparc GNU/Linux. [RT #118055]
118 .IP \(bu 4
119 The debugger\*(Aqs \f(CW\*(C`man\*(C'\fR command been fixed. It was broken in the v5.18.0
120 release. The \f(CW\*(C`man\*(C'\fR command is aliased to the names \f(CW\*(C`doc\*(C'\fR and \f(CW\*(C`perldoc\*(C'\fR \-
121 all now work again.
122 .IP \(bu 4
123 \&\f(CW@_\fR is now correctly visible in the debugger, fixing a regression
124 introduced in v5.18.0\*(Aqs debugger. [RT #118169]
125 .IP \(bu 4
126 Fixed a small number of regexp constructions that could either fail to
127 match or crash perl when the string being matched against was
128 allocated above the 2GB line on 32\-bit systems. [RT #118175]
129 .IP \(bu 4
130 Perl v5.16 inadvertently introduced a bug whereby calls to XSUBs that were
131 not visible at compile time were treated as lvalues and could be assigned
132 to, even when the subroutine was not an lvalue sub. This has been fixed.
133 [perl #117947]
134 .IP \(bu 4
135 Perl v5.18 inadvertently introduced a bug whereby dual\-vars (i.e.
136 variables with both string and numeric values, such as \f(CW$!\fR ) where the
137 truthness of the variable was determined by the numeric value rather than
138 the string value. [RT #118159]
139 .IP \(bu 4
140 Perl v5.18 inadvertently introduced a bug whereby interpolating mixed up\-
141 and down\-graded UTF\-8 strings in a regex could result in malformed UTF\-8
142 in the pattern: specifically if a downgraded character in the range
143 \&\f(CW\*(C`\ex80..\exff\*(C'\fR followed a UTF\-8 string, e.g.
144 .Sp
145 .Vb 3
146 \& utf8::upgrade( my $u = "\ex{e5}");
147 \& utf8::downgrade(my $d = "\ex{e5}");
148 \& /$u$d/
149 .Ve
150 .Sp
151 [perl #118297].
152 .IP \(bu 4
153 Lexical constants (\f(CW\*(C`my sub a() { 42 }\*(C'\fR) no longer crash when inlined.
154 .IP \(bu 4
155 Parameter prototypes attached to lexical subroutines are now respected when
156 compiling sub calls without parentheses. Previously, the prototypes were
157 honoured only for calls \fIwith\fR parentheses. [RT #116735]
158 .IP \(bu 4
159 Syntax errors in lexical subroutines in combination with calls to the same
160 subroutines no longer cause crashes at compile time.
161 .IP \(bu 4
162 The dtrace sub\-entry probe now works with lexical subs, instead of
163 crashing [perl #118305].
164 .IP \(bu 4
165 Undefining an inlinable lexical subroutine (\f(CWmy sub foo() { 42 } undef
166 &foo\fR) would result in a crash if warnings were turned on.
167 .IP \(bu 4
168 Deep recursion warnings no longer crash lexical subroutines. [RT #118521]
169 .SH Acknowledgements
170 .IX Header "Acknowledgements"
171 Perl 5.18.1 represents approximately 2 months of development since Perl 5.18.0
172 and contains approximately 8,400 lines of changes across 60 files from 12
173 authors.
174 .PP
175 Perl continues to flourish into its third decade thanks to a vibrant community
176 of users and developers. The following people are known to have contributed the
177 improvements that became Perl 5.18.1:
178 .PP
179 Chris \*(AqBinGOs\*(Aq Williams, Craig A. Berry, Dagfinn Ilmari Mannsåker, David
180 Mitchell, Father Chrysostomos, Karl Williamson, Lukas Mai, Nicholas Clark,
181 Peter Martini, Ricardo Signes, Shlomi Fish, Tony Cook.
182 .PP
183 The list above is almost certainly incomplete as it is automatically generated
184 from version control history. In particular, it does not include the names of
185 the (very much appreciated) contributors who reported issues to the Perl bug
186 tracker.
187 .PP
188 Many of the changes included in this version originated in the CPAN modules
189 included in Perl\*(Aqs core. We\*(Aqre grateful to the entire CPAN community for
190 helping Perl to flourish.
191 .PP
192 For a more complete list of all of Perl\*(Aqs historical contributors, please see
193 the \fIAUTHORS\fR file in the Perl source distribution.
194 .SH "Reporting Bugs"
195 .IX Header "Reporting Bugs"
196 If you find what you think is a bug, you might check the articles recently
197 posted to the comp.lang.perl.misc newsgroup and the perl bug database at
198 http://rt.perl.org/perlbug/ . There may also be information at
199 http://www.perl.org/ , the Perl Home Page.
200 .PP
201 If you believe you have an unreported bug, please run the perlbug program
202 included with your release. Be sure to trim your bug down to a tiny but
203 sufficient test case. Your bug report, along with the output of \f(CW\*(C`perl \-V\*(C'\fR,
204 will be sent off to [email protected] to be analysed by the Perl porting team.
205 .PP
206 If the bug you are reporting has security implications, which make it
207 inappropriate to send to a publicly archived mailing list, then please send it
208 to perl5\-security\[email protected]. This points to a closed subscription
209 unarchived mailing list, which includes all the core committers, who will be
210 able to help assess the impact of issues, figure out a resolution, and help
211 co\-ordinate the release of patches to mitigate or fix the problem across all
212 platforms on which Perl is supported. Please only use this address for
213 security issues in the Perl core, not for modules independently distributed on
214 CPAN.
215 .SH "SEE ALSO"
216 .IX Header "SEE ALSO"
217 The \fIChanges\fR file for an explanation of how to view exhaustive details on
218 what changed.
219 .PP
220 The \fIINSTALL\fR file for how to build Perl.
221 .PP
222 The \fIREADME\fR file for general stuff.
223 .PP
224 The \fIArtistic\fR and \fICopying\fR files for copyright information.