Debian Codegraph @

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