Debian Codegraph @

upstream/fedora-44/man1/perl585delta.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 "PERL585DELTA 1"
61 .TH PERL585DELTA 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 perl585delta \- what is new for perl v5.8.5
68 .SH DESCRIPTION
69 .IX Header "DESCRIPTION"
70 This document describes differences between the 5.8.4 release and
71 the 5.8.5 release.
72 .SH "Incompatible Changes"
73 .IX Header "Incompatible Changes"
74 There are no changes incompatible with 5.8.4.
75 .SH "Core Enhancements"
76 .IX Header "Core Enhancements"
77 Perl\*(Aqs regular expression engine now contains support for matching on the
78 intersection of two Unicode character classes. You can also now refer to
79 user\-defined character classes from within other user defined character
80 classes.
81 .SH "Modules and Pragmata"
82 .IX Header "Modules and Pragmata"
83 .IP \(bu 4
84 Carp improved to work nicely with Safe. Carp\*(Aqs message reporting should now
85 be anomaly free \- it will always print out line number information.
86 .IP \(bu 4
87 CGI upgraded to version 3.05
88 .IP \(bu 4
89 charnames now avoids clobbering \f(CW$_\fR
90 .IP \(bu 4
91 Digest upgraded to version 1.08
92 .IP \(bu 4
93 Encode upgraded to version 2.01
94 .IP \(bu 4
95 FileCache upgraded to version 1.04
96 .IP \(bu 4
97 libnet upgraded to version 1.19
98 .IP \(bu 4
99 Pod::Parser upgraded to version 1.28
100 .IP \(bu 4
101 Pod::Perldoc upgraded to version 3.13
102 .IP \(bu 4
103 Pod::LaTeX upgraded to version 0.57
104 .IP \(bu 4
105 Safe now works properly with Carp
106 .IP \(bu 4
107 Scalar\-List\-Utils upgraded to version 1.14
108 .IP \(bu 4
109 Shell\*(Aqs documentation has been re\-written, and its historical partial
110 auto\-quoting of command arguments can now be disabled.
111 .IP \(bu 4
112 Test upgraded to version 1.25
113 .IP \(bu 4
114 Test::Harness upgraded to version 2.42
115 .IP \(bu 4
116 Time::Local upgraded to version 1.10
117 .IP \(bu 4
118 Unicode::Collate upgraded to version 0.40
119 .IP \(bu 4
120 Unicode::Normalize upgraded to version 0.30
121 .SH "Utility Changes"
122 .IX Header "Utility Changes"
123 .SS "Perl\*(Aqs debugger"
124 .IX Subsection "Perl's debugger"
125 The debugger can now emulate stepping backwards, by restarting and rerunning
126 all bar the last command from a saved command history.
127 .SS h2ph
128 .IX Subsection "h2ph"
129 \&\fIh2ph\fR is now able to understand a very limited set of C inline functions
130 \&\-\- basically, the inline functions that look like CPP macros. This has
131 been introduced to deal with some of the headers of the newest versions of
132 the glibc. The standard warning still applies; to quote \fIh2ph\fR\*(Aqs
133 documentation, \fIyou may need to dicker with the files produced\fR.
134 .SH "Installation and Configuration Improvements"
135 .IX Header "Installation and Configuration Improvements"
136 Perl 5.8.5 should build cleanly from source on LynxOS.
137 .SH "Selected Bug Fixes"
138 .IX Header "Selected Bug Fixes"
139 .IP \(bu 4
140 The in\-place sort optimisation introduced in 5.8.4 had a bug. For example,
141 in code such as
142 .Sp
143 .Vb 1
144 \& @a = sort ($b, @a)
145 .Ve
146 .Sp
147 the result would omit the value \f(CW$b\fR. This is now fixed.
148 .IP \(bu 4
149 The optimisation for unnecessary assignments introduced in 5.8.4 could give
150 spurious warnings. This has been fixed.
151 .IP \(bu 4
152 Perl should now correctly detect and read BOM\-marked and (BOMless) UTF\-16
153 scripts of either endianness.
154 .IP \(bu 4
155 Creating a new thread when weak references exist was buggy, and would often
156 cause warnings at interpreter destruction time. The known bug is now fixed.
157 .IP \(bu 4
158 Several obscure bugs involving manipulating Unicode strings with \f(CW\*(C`substr\*(C'\fR have
159 been fixed.
160 .IP \(bu 4
161 Previously if Perl\*(Aqs file globbing function encountered a directory that it
162 did not have permission to open it would return immediately, leading to
163 unexpected truncation of the list of results. This has been fixed, to be
164 consistent with Unix shells\*(Aq globbing behaviour.
165 .IP \(bu 4
166 Thread creation time could vary wildly between identical runs. This was caused
167 by a poor hashing algorithm in the thread cloning routines, which has now
168 been fixed.
169 .IP \(bu 4
170 The internals of the ithreads implementation were not checking if OS\-level
171 thread creation had failed. threads\->\fBcreate()\fR now returns \f(CW\*(C`undef\*(C'\fR in if
172 thread creation fails instead of crashing perl.
173 .SH "New or Changed Diagnostics"
174 .IX Header "New or Changed Diagnostics"
175 .IP \(bu 4
176 Perl \-V has several improvements
177 .RS 4
178 .IP \(bu 4
179 correctly outputs local patch names that contain embedded code snippets
180 or other characters that used to confuse it.
181 .IP \(bu 4
182 arguments to \-V that look like regexps will give multiple lines of output.
183 .IP \(bu 4
184 a trailing colon suppresses the linefeed and \*(Aq;\*(Aq terminator, allowing
185 embedding of queries into shell commands.
186 .IP \(bu 4
187 a leading colon removes the \*(Aqname=\*(Aq part of the response, allowing mapping to
188 any name.
189 .RE
190 .RS 4
191 .RE
192 .IP \(bu 4
193 When perl fails to find the specified script, it now outputs a second line
194 suggesting that the user use the \f(CW\*(C`\-S\*(C'\fR flag:
195 .Sp
196 .Vb 3
197 \& $ perl5.8.5 missing.pl
198 \& Can\*(Aqt open perl script "missing.pl": No such file or directory.
199 \& Use \-S to search $PATH for it.
200 .Ve
201 .SH "Changed Internals"
202 .IX Header "Changed Internals"
203 The Unicode character class files used by the regular expression engine are
204 now built at build time from the supplied Unicode consortium data files,
205 instead of being shipped prebuilt. This makes the compressed Perl source
206 tarball about 200K smaller. A side effect is that the layout of files inside
207 lib/unicore has changed.
208 .SH "Known Problems"
209 .IX Header "Known Problems"
210 The regression test \fIt/uni/class.t\fR is now performing considerably more
211 tests, and can take several minutes to run even on a fast machine.
212 .SH "Platform Specific Problems"
213 .IX Header "Platform Specific Problems"
214 This release is known not to build on Windows 95.
215 .SH "Reporting Bugs"
216 .IX Header "Reporting Bugs"
217 If you find what you think is a bug, you might check the articles
218 recently posted to the comp.lang.perl.misc newsgroup and the perl
219 bug database at http://bugs.perl.org. There may also be
220 information at http://www.perl.org, the Perl Home Page.
221 .PP
222 If you believe you have an unreported bug, please run the \fBperlbug\fR
223 program included with your release. Be sure to trim your bug down
224 to a tiny but sufficient test case. Your bug report, along with the
225 output of \f(CW\*(C`perl \-V\*(C'\fR, will be sent off to [email protected] to be
226 analysed by the Perl porting team. You can browse and search
227 the Perl 5 bugs at http://bugs.perl.org/
228 .SH "SEE ALSO"
229 .IX Header "SEE ALSO"
230 The \fIChanges\fR file for exhaustive details on what changed.
231 .PP
232 The \fIINSTALL\fR file for how to build Perl.
233 .PP
234 The \fIREADME\fR file for general stuff.
235 .PP
236 The \fIArtistic\fR and \fICopying\fR files for copyright information.