Debian Codegraph @

upstream/fedora-44/man1/perl5401delta.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 "PERL5401DELTA 1"
61 .TH PERL5401DELTA 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 perl5401delta \- what is new for perl v5.40.1
68 .SH DESCRIPTION
69 .IX Header "DESCRIPTION"
70 This document describes differences between the 5.40.0 release and the 5.40.1
71 release.
72 .PP
73 If you are upgrading from an earlier release such as 5.38.0, first read
74 perl5400delta, which describes differences between 5.38.0 and 5.40.0.
75 .SH "Incompatible Changes"
76 .IX Header "Incompatible Changes"
77 There are no changes intentionally incompatible with 5.40.0. If any exist,
78 they are bugs, and we request that you submit a report. See "Reporting Bugs"
79 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 File::Spec has been upgraded from version 3.90 to 3.91.
86 .IP \(bu 4
87 Module::CoreList has been upgraded from version 5.20240609 to 5.20250118_40.
88 .IP \(bu 4
89 warnings has been upgraded from version 1.69 to 1.70.
90 .SH Documentation
91 .IX Header "Documentation"
92 .SS "Changes to Existing Documentation"
93 .IX Subsection "Changes to Existing Documentation"
94 We have attempted to update the documentation to reflect the changes listed in
95 this document. If you find any we have missed, open an issue at
96 <https://github.com/Perl/perl5/issues>.
97 .SH "Configuration and Compilation"
98 .IX Header "Configuration and Compilation"
99 .IP \(bu 4
100 Fixed compilation on platforms (e.g. "Gentoo Prefix") with only a C locale.
101 [GH #22569 <https://github.com/Perl/perl5/issues/22569>]
102 Bug first reported downstream at
103 bugs.gentoo.org/939014 <https://bugs.gentoo.org/939014>.
104 .IP \(bu 4
105 Fixed compilation error on some systems due to a typo in a \fBprintf()\fR format.
106 [GH #22793 <https://github.com/Perl/perl5/issues/22793>]
107 .SH Testing
108 .IX Header "Testing"
109 Tests were added and changed to reflect the other additions and changes in this
110 release.
111 .SH "Selected Bug Fixes"
112 .IX Header "Selected Bug Fixes"
113 .IP \(bu 4
114 Starting in Perl 5.39.8, "\f(CW\*(C`strftime\*(C'\fR" in POSIX would crash or produce odd errors
115 (such as \f(CW\*(C`Out of memory in perl:util:safesysmalloc\*(C'\fR) when given a format
116 string that wasn\*(Aqt actually a string, but a number, \f(CW\*(C`undef\*(C'\fR, or an object
117 (even one with overloaded string conversion).
118 .Sp
119 Now \f(CW\*(C`strftime\*(C'\fR stringifies its first argument, as before.
120 [GH #22498 <https://github.com/Perl/perl5/issues/22498>]
121 .IP \(bu 4
122 Builds with \f(CW\*(C`\-msse\*(C'\fR and quadmath on 32\-bit x86 systems would crash with a
123 misaligned access early in the build.
124 [GH #22577 <https://github.com/Perl/perl5/issues/22577>]
125 .IP \(bu 4
126 Using \f(CW\*(C`goto\*(C'\fR to tail call, or using the \fBcall_sv()\fR and related APIs to call,
127 any of \fBtrim()\fR, \fBrefaddr()\fR, \fBreftype()\fR, \fBceil()\fR, \fBfloor()\fR or \fBstringify()\fR in the
128 \&\f(CW\*(C`builtin::\*(C'\fR package would crash or assert due to a \f(CW\*(C`TARG\*(C'\fR handling bug.
129 [GH #22542 <https://github.com/Perl/perl5/issues/22542>]
130 .IP \(bu 4
131 Fixed an issue where \f(CWutf8n_to_uvchr()\fR failed to correctly identify certain
132 invalid UTF\-8 sequences as invalid. Specifically, sequences that start with
133 continuation bytes or unassigned bytes could cause unexpected behaviour or a
134 panic. This fix ensures that such invalid sequences are now properly detected
135 and handled. This correction also resolves related issues in modules that
136 handle UTF\-8 processing, such as Encode.
137 .IP \(bu 4
138 Fixed a double free error or possible memory leak when failing to compile
139 certain regexps. [GH #21661 <https://github.com/Perl/perl5/issues/21661>]
140 .SH Acknowledgements
141 .IX Header "Acknowledgements"
142 Perl 5.40.1 represents approximately 7 months of development since Perl 5.40.0
143 and contains approximately 5,600 lines of changes across 54 files from 15
144 authors.
145 .PP
146 Excluding auto\-generated files, documentation and release tools, there were
147 approximately 1,800 lines of changes to 19 .pm, .t, .c and .h files.
148 .PP
149 Perl continues to flourish into its fourth decade thanks to a vibrant community
150 of users and developers. The following people are known to have contributed
151 the improvements that became Perl 5.40.1:
152 .PP
153 Andrei Horodniceanu, Chris \*(AqBinGOs\*(Aq Williams, E. Choroba, Graham Knop, James E
154 Keenan, Karen Etheridge, Karl Williamson, Lukas Mai, Masahiro Honma, Max
155 Maischein, Philippe Bruhat (BooK), Richard Leach, Steve Hay, Thibault
156 Duponchelle, Tony Cook.
157 .PP
158 The list above is almost certainly incomplete as it is automatically generated
159 from version control history. In particular, it does not include the names of
160 the (very much appreciated) contributors who reported issues to the Perl bug
161 tracker.
162 .PP
163 Many of the changes included in this version originated in the CPAN modules
164 included in Perl\*(Aqs core. We\*(Aqre grateful to the entire CPAN community for
165 helping Perl to flourish.
166 .PP
167 For a more complete list of all of Perl\*(Aqs historical contributors, please see
168 the \fIAUTHORS\fR file in the Perl source distribution.
169 .SH "Reporting Bugs"
170 .IX Header "Reporting Bugs"
171 If you find what you think is a bug, you might check the perl bug database at
172 <https://github.com/Perl/perl5/issues>. There may also be information at
173 <https://www.perl.org/>, the Perl Home Page.
174 .PP
175 If you believe you have an unreported bug, please open an issue at
176 <https://github.com/Perl/perl5/issues>. Be sure to trim your bug down to a
177 tiny but sufficient test case.
178 .PP
179 If the bug you are reporting has security implications which make it
180 inappropriate to send to a public issue tracker, then see
181 "SECURITY VULNERABILITY CONTACT INFORMATION" in perlsec for details of how to
182 report the issue.
183 .SH "Give Thanks"
184 .IX Header "Give Thanks"
185 If you wish to thank the Perl 5 Porters for the work we had done in Perl 5, you
186 can do so by running the \f(CW\*(C`perlthanks\*(C'\fR program:
187 .PP
188 .Vb 1
189 \& perlthanks
190 .Ve
191 .PP
192 This will send an email to the Perl 5 Porters list with your show of thanks.
193 .SH "SEE ALSO"
194 .IX Header "SEE ALSO"
195 The \fIChanges\fR file for an explanation of how to view exhaustive details on
196 what changed.
197 .PP
198 The \fIINSTALL\fR file for how to build Perl.
199 .PP
200 The \fIREADME\fR file for general stuff.
201 .PP
202 The \fIArtistic\fR and \fICopying\fR files for copyright information.