.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "PERL586DELTA 1" .TH PERL586DELTA 1 2023-11-30 "perl v5.38.2" "Perl Programmers Reference Guide" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME perl586delta \- what is new for perl v5.8.6 .SH DESCRIPTION .IX Header "DESCRIPTION" This document describes differences between the 5.8.5 release and the 5.8.6 release. .SH "Incompatible Changes" .IX Header "Incompatible Changes" There are no changes incompatible with 5.8.5. .SH "Core Enhancements" .IX Header "Core Enhancements" The perl interpreter is now more tolerant of UTF\-16\-encoded scripts. .PP On Win32, Perl can now use non-IFS compatible LSPs, which allows Perl to work in conjunction with firewalls such as McAfee Guardian. For full details see the file \fIREADME.win32\fR, particularly if you're running Win95. .SH "Modules and Pragmata" .IX Header "Modules and Pragmata" .IP \(bu 4 With the \f(CW\*(C`base\*(C'\fR pragma, an intermediate class with no fields used to messes up private fields in the base class. This has been fixed. .IP \(bu 4 Cwd upgraded to version 3.01 (as part of the new PathTools distribution) .IP \(bu 4 Devel::PPPort upgraded to version 3.03 .IP \(bu 4 File::Spec upgraded to version 3.01 (as part of the new PathTools distribution) .IP \(bu 4 Encode upgraded to version 2.08 .IP \(bu 4 ExtUtils::MakeMaker remains at version 6.17, as later stable releases currently available on CPAN have some issues with core modules on some core platforms. .IP \(bu 4 I18N::LangTags upgraded to version 0.35 .IP \(bu 4 Math::BigInt upgraded to version 1.73 .IP \(bu 4 Math::BigRat upgraded to version 0.13 .IP \(bu 4 MIME::Base64 upgraded to version 3.05 .IP \(bu 4 POSIX::sigprocmask function can now retrieve the current signal mask without also setting it. .IP \(bu 4 Time::HiRes upgraded to version 1.65 .SH "Utility Changes" .IX Header "Utility Changes" Perl has a new \-dt command-line flag, which enables threads support in the debugger. .SH "Performance Enhancements" .IX Header "Performance Enhancements" \&\f(CW\*(C`reverse sort ...\*(C'\fR is now optimized to sort in reverse, avoiding the generation of a temporary intermediate list. .PP \&\f(CW\*(C`for (reverse @foo)\*(C'\fR now iterates in reverse, avoiding the generation of a temporary reversed list. .SH "Selected Bug Fixes" .IX Header "Selected Bug Fixes" The regexp engine is now more robust when given invalid utf8 input, as is sometimes generated by buggy XS modules. .PP \&\f(CW\*(C`foreach\*(C'\fR on threads::shared array used to be able to crash Perl. This bug has now been fixed. .PP A regexp in \f(CW\*(C`STDOUT\*(C'\fR's destructor used to coredump, because the regexp pad was already freed. This has been fixed. .PP \&\f(CW\*(C`goto &\*(C'\fR is now more robust \- bugs in deep recursion and chained \f(CW\*(C`goto &\*(C'\fR have been fixed. .PP 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 shared array reference no longer causes a leak. .PP \&\f(CWeval_sv()\fR failing a taint test could corrupt the stack \- this has been fixed. .PP On platforms with 64 bit pointers numeric comparison operators used to erroneously compare the addresses of references that are overloaded, rather than using the overloaded values. This has been fixed. .PP \&\f(CW\*(C`read\*(C'\fR into a UTF8\-encoded buffer with an offset off the end of the buffer no longer mis-calculates buffer lengths. .PP Although Perl has promised since version 5.8 that \f(CWsort()\fR would be stable, the two cases \f(CW\*(C`sort {$b cmp $a}\*(C'\fR and \f(CW\*(C`sort {$b <=> $a}\*(C'\fR could produce non-stable sorts. This is corrected in perl5.8.6. .PP Localising \f(CW$^D\fR no longer generates a diagnostic message about valid \-D flags. .SH "New or Changed Diagnostics" .IX Header "New or Changed Diagnostics" For \-t and \-T, Too late for "\-T" option has been changed to the more informative "\-T" is on the #! line, it must also be used on the command line .SH "Changed Internals" .IX Header "Changed Internals" From now on all applications embedding perl will behave as if perl were compiled with \-DPERL_USE_SAFE_PUTENV. See "Environment access" in the \fIINSTALL\fR file for details. .PP Most \f(CW\*(C`C\*(C'\fR source files now have comments at the top explaining their purpose, which should help anyone wishing to get an overview of the implementation. .SH "New Tests" .IX Header "New Tests" There are significantly more tests for the \f(CW\*(C`B\*(C'\fR suite of modules. .SH "Reporting Bugs" .IX Header "Reporting Bugs" If you find what you think is a bug, you might check the articles recently posted to the comp.lang.perl.misc newsgroup and the perl bug database at http://bugs.perl.org. There may also be information at http://www.perl.org, the Perl Home Page. .PP If you believe you have an unreported bug, please run the \fBperlbug\fR program included with your release. Be sure to trim your bug down to a tiny but sufficient test case. Your bug report, along with the output of \f(CW\*(C`perl \-V\*(C'\fR, will be sent off to perlbug@perl.org to be analysed by the Perl porting team. You can browse and search the Perl 5 bugs at http://bugs.perl.org/ .SH "SEE ALSO" .IX Header "SEE ALSO" The \fIChanges\fR file for exhaustive details on what changed. .PP The \fIINSTALL\fR file for how to build Perl. .PP The \fIREADME\fR file for general stuff. .PP The \fIArtistic\fR and \fICopying\fR files for copyright information.