| 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 "PERL586DELTA 1" |
| 58 |
.TH PERL586DELTA 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 |
perl586delta \- what is new for perl v5.8.6 |
| 65 |
.SH DESCRIPTION |
| 66 |
.IX Header "DESCRIPTION" |
| 67 |
This document describes differences between the 5.8.5 release and |
| 68 |
the 5.8.6 release. |
| 69 |
.SH "Incompatible Changes" |
| 70 |
.IX Header "Incompatible Changes" |
| 71 |
There are no changes incompatible with 5.8.5. |
| 72 |
.SH "Core Enhancements" |
| 73 |
.IX Header "Core Enhancements" |
| 74 |
The perl interpreter is now more tolerant of UTF\-16\-encoded scripts. |
| 75 |
.PP |
| 76 |
On Win32, Perl can now use non-IFS compatible LSPs, which allows Perl to |
| 77 |
work in conjunction with firewalls such as McAfee Guardian. For full details |
| 78 |
see the file \fIREADME.win32\fR, particularly if you're running Win95. |
| 79 |
.SH "Modules and Pragmata" |
| 80 |
.IX Header "Modules and Pragmata" |
| 81 |
.IP \(bu 4 |
| 82 |
With the \f(CW\*(C`base\*(C'\fR pragma, an intermediate class with no fields used to messes |
| 83 |
up private fields in the base class. This has been fixed. |
| 84 |
.IP \(bu 4 |
| 85 |
Cwd upgraded to version 3.01 (as part of the new PathTools distribution) |
| 86 |
.IP \(bu 4 |
| 87 |
Devel::PPPort upgraded to version 3.03 |
| 88 |
.IP \(bu 4 |
| 89 |
File::Spec upgraded to version 3.01 (as part of the new PathTools distribution) |
| 90 |
.IP \(bu 4 |
| 91 |
Encode upgraded to version 2.08 |
| 92 |
.IP \(bu 4 |
| 93 |
ExtUtils::MakeMaker remains at version 6.17, as later stable releases currently |
| 94 |
available on CPAN have some issues with core modules on some core platforms. |
| 95 |
.IP \(bu 4 |
| 96 |
I18N::LangTags upgraded to version 0.35 |
| 97 |
.IP \(bu 4 |
| 98 |
Math::BigInt upgraded to version 1.73 |
| 99 |
.IP \(bu 4 |
| 100 |
Math::BigRat upgraded to version 0.13 |
| 101 |
.IP \(bu 4 |
| 102 |
MIME::Base64 upgraded to version 3.05 |
| 103 |
.IP \(bu 4 |
| 104 |
POSIX::sigprocmask function can now retrieve the current signal mask without |
| 105 |
also setting it. |
| 106 |
.IP \(bu 4 |
| 107 |
Time::HiRes upgraded to version 1.65 |
| 108 |
.SH "Utility Changes" |
| 109 |
.IX Header "Utility Changes" |
| 110 |
Perl has a new \-dt command-line flag, which enables threads support in the |
| 111 |
debugger. |
| 112 |
.SH "Performance Enhancements" |
| 113 |
.IX Header "Performance Enhancements" |
| 114 |
\&\f(CW\*(C`reverse sort ...\*(C'\fR is now optimized to sort in reverse, avoiding the |
| 115 |
generation of a temporary intermediate list. |
| 116 |
.PP |
| 117 |
\&\f(CW\*(C`for (reverse @foo)\*(C'\fR now iterates in reverse, avoiding the generation of a |
| 118 |
temporary reversed list. |
| 119 |
.SH "Selected Bug Fixes" |
| 120 |
.IX Header "Selected Bug Fixes" |
| 121 |
The regexp engine is now more robust when given invalid utf8 input, as is |
| 122 |
sometimes generated by buggy XS modules. |
| 123 |
.PP |
| 124 |
\&\f(CW\*(C`foreach\*(C'\fR on threads::shared array used to be able to crash Perl. This bug |
| 125 |
has now been fixed. |
| 126 |
.PP |
| 127 |
A regexp in \f(CW\*(C`STDOUT\*(C'\fR's destructor used to coredump, because the regexp pad |
| 128 |
was already freed. This has been fixed. |
| 129 |
.PP |
| 130 |
\&\f(CW\*(C`goto &\*(C'\fR is now more robust \- bugs in deep recursion and chained \f(CW\*(C`goto &\*(C'\fR |
| 131 |
have been fixed. |
| 132 |
.PP |
| 133 |
Using \f(CW\*(C`delete\*(C'\fR on an array no longer leaks memory. A \f(CW\*(C`pop\*(C'\fR of an item from a |
| 134 |
shared array reference no longer causes a leak. |
| 135 |
.PP |
| 136 |
\&\f(CWeval_sv()\fR failing a taint test could corrupt the stack \- this has been |
| 137 |
fixed. |
| 138 |
.PP |
| 139 |
On platforms with 64 bit pointers numeric comparison operators used to |
| 140 |
erroneously compare the addresses of references that are overloaded, rather |
| 141 |
than using the overloaded values. This has been fixed. |
| 142 |
.PP |
| 143 |
\&\f(CW\*(C`read\*(C'\fR into a UTF8\-encoded buffer with an offset off the end of the buffer |
| 144 |
no longer mis-calculates buffer lengths. |
| 145 |
.PP |
| 146 |
Although Perl has promised since version 5.8 that \f(CWsort()\fR would be |
| 147 |
stable, the two cases \f(CW\*(C`sort {$b cmp $a}\*(C'\fR and \f(CW\*(C`sort {$b <=> $a}\*(C'\fR could |
| 148 |
produce non-stable sorts. This is corrected in perl5.8.6. |
| 149 |
.PP |
| 150 |
Localising \f(CW$^D\fR no longer generates a diagnostic message about valid \-D |
| 151 |
flags. |
| 152 |
.SH "New or Changed Diagnostics" |
| 153 |
.IX Header "New or Changed Diagnostics" |
| 154 |
For \-t and \-T, |
| 155 |
Too late for "\-T" option |
| 156 |
has been changed to the more informative |
| 157 |
"\-T" is on the #! line, it must also be used on the command line |
| 158 |
.SH "Changed Internals" |
| 159 |
.IX Header "Changed Internals" |
| 160 |
From now on all applications embedding perl will behave as if perl |
| 161 |
were compiled with \-DPERL_USE_SAFE_PUTENV. See "Environment access" in |
| 162 |
the \fIINSTALL\fR file for details. |
| 163 |
.PP |
| 164 |
Most \f(CW\*(C`C\*(C'\fR source files now have comments at the top explaining their purpose, |
| 165 |
which should help anyone wishing to get an overview of the implementation. |
| 166 |
.SH "New Tests" |
| 167 |
.IX Header "New Tests" |
| 168 |
There are significantly more tests for the \f(CW\*(C`B\*(C'\fR suite of modules. |
| 169 |
.SH "Reporting Bugs" |
| 170 |
.IX Header "Reporting Bugs" |
| 171 |
If you find what you think is a bug, you might check the articles |
| 172 |
recently posted to the comp.lang.perl.misc newsgroup and the perl |
| 173 |
bug database at http://bugs.perl.org. There may also be |
| 174 |
information at http://www.perl.org, the Perl Home Page. |
| 175 |
.PP |
| 176 |
If you believe you have an unreported bug, please run the \fBperlbug\fR |
| 177 |
program included with your release. Be sure to trim your bug down |
| 178 |
to a tiny but sufficient test case. Your bug report, along with the |
| 179 |
output of \f(CW\*(C`perl \-V\*(C'\fR, will be sent off to [email protected] to be |
| 180 |
analysed by the Perl porting team. You can browse and search |
| 181 |
the Perl 5 bugs at http://bugs.perl.org/ |
| 182 |
.SH "SEE ALSO" |
| 183 |
.IX Header "SEE ALSO" |
| 184 |
The \fIChanges\fR file for exhaustive details on what changed. |
| 185 |
.PP |
| 186 |
The \fIINSTALL\fR file for how to build Perl. |
| 187 |
.PP |
| 188 |
The \fIREADME\fR file for general stuff. |
| 189 |
.PP |
| 190 |
The \fIArtistic\fR and \fICopying\fR files for copyright information. |