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