PERL588DELTA(1)
hey bestie π it's PERL588DELTA(1) from the Perl Programmers Reference Guide β¨ this is the tea on what is new in perl v5.8.8, and part 1 is giving main character energy π no cap.
β¨ NAME β¨
perl588delta β what is new for perl v5.8.8 π
π DESCRIPTION π
This document describes differences between the 5.8.7 release and the 5.8.8 release. So it's literally the diff between 5.8.7 and 5.8.8, bestie π«Ά
π Incompatible Changes π
There are no changes intentionally incompatible with 5.8.7. If any exist, they are bugs and reports are welcome. no cap, zero intentional breakage. If you find any, that's a bug and reports are welcome π
π Core Enhancements π
chdir,chmodandchowncan now work on filehandles as well as filenames, if the system supports respectivelyfchdir,fchmodandfchown, thanks to a patch provided by Gisle Aas. The way that filehandle glow-up is real π
π¦ Modules and Pragmata π¦
okay so the module tea is long, but every single upgrade is here, bestie π«
Attribute::Handlersupgraded to version0.78_02- Documentation typo fix
attrsupgraded to version1.02- Internal cleanup only
autouseupgraded to version1.05- Simplified implementation
Bupgraded to version1.09_01- The inheritance hierarchy of the
B::modules has been corrected;B::NVnow inherits fromB::SV(instead ofB::IV).
- The inheritance hierarchy of the
blibupgraded to version1.03- Documentation typo fix
ByteLoaderupgraded to version0.06- Internal cleanup
CGIupgraded to version3.15- Extraneous
?fromself_url()removed scrolling_list()select attribute fixedvirtual_portnow works properly with the https protocolupload_hook()andappend()now works in function-oriented modePOST_MAXdoesn't cause the client to hang any more- Automatic tab indexes are now disabled and new
-tabindexpragma has been added to turn automatic indexes back on end_form()doesn't emit empty (and non-validating)<div>CGI::Carpworks better in certain mod_perl configurations- Setting
$CGI::TMPDIRECTORYis now effective - Enhanced documentation
- Extraneous
charnamesupgraded to version1.05viacode()now accept hex strings and has been optimized.
CPANupgraded to version1.76_02- 1 minor bug fix for Win32
Cwdupgraded to version3.12canonpath()on Win32 now collapsesfoo\..sections correctly.- Improved behaviour on Symbian OS.
- Enhanced documentation and typo fixes
- Internal cleanup
Data::Dumperupgraded to version2.121_08- A problem where
Data::Dumperwould sometimes update the iterator state of hashes has been fixed - Numeric labels now work
- Internal cleanup
- A problem where
DBupgraded to version1.01- A problem where the state of the regexp engine would sometimes get clobbered when running under the debugger has been fixed.
DB_Fileupgraded to version1.814- Adds support for Berkeley DB 4.4.
Devel::DProfupgraded to version20050603.00- Internal cleanup
Devel::Peekupgraded to version1.03- Internal cleanup
Devel::PPPortupgraded to version3.06_01--compat-versionargument checking has been improved- Files passed on the command line are filtered by default
--nofilteroption to override the filtering has been added- Enhanced documentation
diagnosticsupgraded to version1.15- Documentation typo fix
Digestupgraded to version1.14- The constructor now knows which module implements SHA-224
- Documentation tweaks and typo fixes
Digest::MD5upgraded to version2.36XSLoaderis now used for faster loading- Enhanced documentation including MD5 weaknesses discovered lately
Dumpvalueupgraded to version1.12- Documentation fix
DynaLoaderupgraded but unfortunately we're not able to increment its version number :-(- Implements
dl_unload_fileon Win32 - Internal cleanup
XSLoader0.06 incorporated; small optimisation for callingbootstrap_inherit()and documentation enhancements.
- Implements
Encodeupgraded to version2.12- A coderef is now acceptable for
CHECK! - 3 new characters added to the ISO-8859-7 encoding
- New encoding
MIME-Header-ISO_2022_JPadded - Problem with partial characters and
encoding(utf-8-strict)fixed. - Documentation enhancements and typo fixes
- A coderef is now acceptable for
Englishupgraded to version1.02- the
$COMPILINGvariable has been added
- the
ExtUtils::Constantupgraded to version0.17- Improved compatibility with older versions of perl
ExtUtils::MakeMakerupgraded to version6.30(was6.17)- Too much to list here; see
http://search.cpan.org/dist/ExtUtils-MakeMaker/Changes
- Too much to list here; see
File::Basenameupgraded to version2.74, with changes contributed by Michael Schwern.- Documentation clarified and errors corrected.
basenamenow strips trailing path separators before processing the name.basenamenow returns/for parameter/, to makebasenameconsistent with the shell utility of the same name.- The suffix is no longer stripped if it is identical to the remaining characters in the name, again for consistency with the shell utility.
- Some internal code cleanup.
File::Copyupgraded to version2.09- Copying a file onto itself used to fail.
- Moving a file between file systems now preserves the access and modification time stamps
File::Findupgraded to version1.10- Win32 portability fixes
- Enhanced documentation
File::Globupgraded to version1.05- Internal cleanup
File::Pathupgraded to version1.08mkpathnow preserveserrnowhenmkdirfails
File::Specupgraded to version3.12File::Spec->rootdir()now returns\on Win32, instead of/$^Ocould sometimes become tainted. This has been fixed.canonpathon Win32 now collapsesfoo/..(orfoo\..) sections correctly, rather than doing the "misguided" work it was previously doing. Note thatcanonpathon Unix still does not collapse these sections, as doing so would be incorrect.- Some documentation improvements
- Some internal code cleanup
FileCacheupgraded to version1.06- POD formatting errors in the documentation fixed
Filter::Simpleupgraded to version0.82FindBinupgraded to version1.47- Now works better with directories where access rights are more restrictive than usual.
GDBM_Fileupgraded to version1.08- Internal cleanup
Getopt::Longupgraded to version2.35prefix_patternhas now been complemented by a new configuration optionlong_prefix_patternthat allows the user to specify what prefix patterns should have long option style semantics applied.- Options can now take multiple values at once (experimental)
- Various bug fixes
ifupgraded to version0.05- Give more meaningful error messages from
ifwhen invoked with a condition in list context. - Restore backwards compatibility with earlier versions of perl
- Give more meaningful error messages from
IOupgraded to version1.22- Enhanced documentation
- Internal cleanup
IPC::Open2upgraded to version1.02- Enhanced documentation
IPC::Open3upgraded to version1.02- Enhanced documentation
List::Utilupgraded to version1.18(was1.14)- Fix pure-perl version of
refaddrto avoid blessing an un-blessed reference - Use
XSLoaderfor faster loading - Fixed various memory leaks
- Internal cleanup and portability fixes
- Fix pure-perl version of
Math::Complexupgraded to version1.35atan2(0, i)now works, as do all the (computable) complex argument cases- Fixes for certain bugs in
makeandemake - Support returning the kth root directly
- Support
[2,-3pi/8]inemake - Support
infformake/emake - Document
make/emakemore visibly
Math::Trigupgraded to version1.03- Add more great circle routines:
great_circle_waypointandgreat_circle_destination
- Add more great circle routines:
MIME::Base64upgraded to version3.07- Use
XSLoaderfor faster loading - Enhanced documentation
- Internal cleanup
- Use
NDBM_Fileupgraded to version1.06- Enhanced documentation
ODBM_Fileupgraded to version1.06- Documentation typo fixed
- Internal cleanup
Opcodeupgraded to version1.06- Enhanced documentation
- Internal cleanup
openupgraded to version1.05- Enhanced documentation
overloadupgraded to version1.04- Enhanced documentation
PerlIOupgraded to version1.04PerlIO::viaiterate over layers properly nowPerlIO::scalarunderstands$/ = ""nowencoding(utf-8-strict)with partial characters now works- Enhanced documentation
- Internal cleanup
Pod::Functionsupgraded to version1.03- Documentation typos fixed
Pod::Htmlupgraded to version1.0504- HTML output will now correctly link to
=items on the same page, and should be valid XHTML. - Variable names are recognized as intended
- Documentation typos fixed
- HTML output will now correctly link to
Pod::Parserupgraded to version1.32- Allow files that start with
=headon the first line - Win32 portability fix
- Exit status of
pod2usagefixed - New
-noperldocswitch forpod2usage - Arbitrary URL schemes now allowed
- Documentation typos fixed
- Allow files that start with
POSIXupgraded to version1.09- Documentation typos fixed
- Internal cleanup
reupgraded to version0.05- Documentation typo fixed
Safeupgraded to version2.12- Minor documentation enhancement
SDBM_Fileupgraded to version1.05- Documentation typo fixed
- Internal cleanup
Socketupgraded to version1.78- Internal cleanup
Storableupgraded to version2.15slay π- This includes the
STORABLE_attachhook functionality added by Adam Kennedy, and more frugal memory requirements when storing underithreads, by using theithreadscloning tracking code. iconic
- This includes the
Switchupgraded to version2.10_01okay bestie β¨- Documentation typos fixed
Sys::Syslogupgraded to version0.13the way that π- Now provides numeric macros and meaningful
Exportertags. - No longer uses
Sys::Hostnameas it may provide useless values in unconfigured network environments, so instead usesINADDR_LOOPBACKdirectly. periodt syslog()now uses local timestamp.setlogmask()now behaves like its C counterpart.setlogsock()will nowcroak()as documented. as it should- Improved error and warnings messages.
- Improved documentation.
- Now provides numeric macros and meaningful
Term::ANSIColorupgraded to version1.10ngl π- Fixes a bug in
coloredwhen$EACHLINEis set that caused it to not color lines consisting solely of0(literal zero). fr fr - Improved tests.
- Fixes a bug in
Term::ReadLineupgraded to version1.02lowkey π¦- Documentation tweaks
Test::Harnessupgraded to version2.56(was2.48) highkey π₯- The
Test::Harnesstimer is now off by default. - Now shows elapsed time in milliseconds.
- Various bug fixes
- The
Test::Simpleupgraded to version0.62(was0.54) main character energy πis_deeply()no longer fails to work for many cases- Various minor bug fixes
- Documentation enhancements
Text::Tabsupgraded to version2005.0824ate π- Provides a faster implementation of
expand
- Provides a faster implementation of
Text::Wrapupgraded to version2005.082401the way that πΈ- Adds
$Text::Wrap::separator2, which allows you to preserve existing newlines but add line-breaks with some other string.
- Adds
threadsupgraded to version1.07iykyk π§΅threadswill now honourno warnings 'threads'- A thread's interpreter is now freed after
$t->join()rather than afterundef $t, which should fix someithreadsmemory leaks. (Fixed by Dave Mitchell) - Some documentation typo fixes.
threads::sharedupgraded to version0.94periodt π- Documentation changes only
- Note: An improved implementation of
threads::sharedis available on CPAN - this will be merged into5.8.9if it proves stable.
Tie::Hashupgraded to version1.02not me π- Documentation typo fixed
Time::HiResupgraded to version1.86(was1.66) obsessed β°clock_nanosleep()andclock()functions added- Support for the POSIX
clock_gettime()andclock_getres()has been added - Return
undefor an empty list if the Cgettimeofday()function fails - Improved
nanosleepdetection - Internal cleanup
- Enhanced documentation
Unicode::Collateupgraded to version0.52slay π- Now implements UCA Revision 14 (based on Unicode 4.1.0).
Unicode::Collate->newmethod no longer overwrites user's$_- Enhanced documentation
Unicode::UCDupgraded to version0.24iconic β- Documentation typos fixed
User::grentupgraded to version1.01fr fr π§- Documentation typo fixed
utf8upgraded to version1.06lowkey π- Documentation typos fixed
vmsishupgraded to version1.02highkey πΈ- Documentation typos fixed
warningsupgraded to version1.05the way that β οΈ- Gentler messing with
Carp::internals - Internal cleanup
- Documentation update
- Gentler messing with
Win32upgraded to version0.2601ate πͺ- Provides Windows Vista support to
Win32::GetOSName - Documentation enhancements
- Provides Windows Vista support to
XS::Typemapupgraded to version0.02periodt πΊοΈ- Internal cleanup
Utility Changes β¨
h2xs enhancements π
h2xs implements new option --use-xsloader to force use of XSLoader even in backwards compatible modules. no cap
The handling of authors' names that had apostrophes has been fixed. slay
Any enums with negative values are now skipped. periodt
perlivp enhancements π§
perlivp implements new option -a and will not check for *.ph files by default any more. Use the -a option to run all tests. iykyk
New Documentation π
The perlglossary manpage is a glossary of terms used in the Perl documentation, technical and otherwise, kindly provided by O'Reilly Media, inc. iconic
Performance Enhancements π
- Weak reference creation is now O(1) rather than O(n), courtesy of Nicholas Clark. Weak reference deletion remains O(n), but if deletion only happens at program exit, it may be skipped completely. main character energy
- Salvador FandiΓ±o provided improvements to reduce the memory usage of
sortand to speed up some cases. ate - Jarkko Hietaniemi and Andy Lester worked to mark as much data as possible in the C source files as
static, to increase the proportion of the executable file that the operating system can share between process, and thus reduce real memory usage on multi-user systems. fr fr
Installation and Configuration Improvements π οΈ
Parallel makes should work properly now, although there may still be problems if make test is instructed to run in parallel. lowkey
Building with Borland's compilers on Win32 should work more smoothly. In particular Steve Hay has worked to side step many warnings emitted by their compilers and at least one C compiler internal error. highkey
Configure will now detect clearenv and unsetenv, thanks to a patch from Alan Burlison. It will also probe for futimes and whether sprintf correctly returns the length of the formatted string, which will both be used in perl 5.8.9. the way that
There are improved hints for next-3.0, vmesa, IX, Darwin, Solaris, Linux, DEC/OSF, HP-UX and MPE/iX periodt
Perl extensions on Windows now can be statically built into the Perl DLL, thanks to a work by Vadim Konovalov. (This improvement was actually in 5.8.7, but was accidentally omitted from perl587delta). ngl
Selected Bug Fixes π
no warnings 'category' works correctly with -w
Previously when running with warnings enabled globally via -w, selective disabling of specific warning categories would actually turn off all warnings. This is now fixed; now no warnings 'io'; will only turn off warnings in the io class. Previously it would erroneously turn off all warnings. slay
This bug fix may cause some programs to start correctly issuing warnings. oops
bestie, this one's a game-changer if you use -w with selective warnings π
Remove over-optimisation
Perl 5.8.4 introduced a change so that assignments of undef to a scalar, or of an empty list to an array or a hash, were optimised away. As this could cause problems when goto jumps were involved, this change has been backed out. not me
sprintf() fixes
Using the sprintf() function with some formats could lead to a buffer overflow in some specific cases. This has been fixed, along with several other bugs, notably in bounds checking. π
In related fixes, it was possible for badly written code that did not follow the documentation of Sys::Syslog to have formatting vulnerabilities. Sys::Syslog has been changed to protect people from poor quality third party code. bestie
buffer overflows are not the vibe. stay safe out there π«Ά
Debugger and Unicode slowdown
It had been reported that running under perl's debugger when processing Unicode data could cause unexpectedly large slowdowns. The most likely cause of this was identified and fixed by Nicholas Clark. iconic
Smaller fixes
FindBinnow works better with directories where access rights are more restrictive than usual. slay- Several memory leaks in ithreads were closed. An improved implementation of
threads::sharedis available on CPAN - this will be merged into 5.8.9 if it proves stable. periodt - Trailing spaces are now trimmed from
$!and$^E. the way that - Operations that require perl to read a process's list of groups, such as reads of
$(and$), now dynamically allocate memory rather than using a fixed sized array. The fixed size array could cause C stack exhaustion on systems configured to use large numbers of groups. lowkey PerlIO::scalarnow works better with non-default$/settings. highkey- You can now use the
xoperator to repeat aqw//list. This used to raise a syntax error. ate - The debugger now traces correctly execution in eval("")uated code that contains #line directives. fr fr
- The value of the
openpragma is no longer ignored for three-argument opens. ngl - The optimisation of
for (reverse @a)introduced in perl 5.8.6 could misbehave when the array had undefined elements and was used in LVALUE context. Dave Mitchell provided a fix. iykyk - Some case insensitive matches between UTF-8 encoded data and 8 bit regexps, and vice versa, could give malformed character warnings. These have been fixed by Dave Mitchell and Yves Orton. slay
lcfirstanducfirstcould corrupt the string for certain cases where the length UTF-8 encoding of the string in lower case, upper case or title case differed. This was fixed by Nicholas Clark. iconic- Perl will now use the C library calls
unsetenvandclearenvif present to delete keys from %ENV and delete %ENV entirely, thanks to a patch from Alan Burlison. periodt
New or Changed Diagnostics π©Ί
Attempt to set length of freed array
This is a new warning, produced in situations such as this:
$r = do {my @a; \$#a};
$$r = 503;
Non-string passed as bitmask
This is a new warning, produced when number has been passed as an argument to select(), instead of a bitmask.
# Wrong, will now warn
$rin = fileno(STDIN);
($nfound,$timeleft) = select($rout=$rin, undef, undef, $timeout);
# Should be
$rin = '';
vec($rin,fileno(STDIN),1) = 1;
($nfound,$timeleft) = select($rout=$rin, undef, undef, $timeout);
Search pattern not terminated or ternary operator parsed as search pattern
This syntax error indicates that the lexer couldn't find the final delimiter of a ?PATTERN? construct. Mentioning the ternary operator in this error message makes it easier to diagnose syntax errors. π
π οΈ Changed Internals π οΈ
Okay bestie, so there's been a lot of refactoring of the C source code, partly just to make it tidier and more maintainable. The resulting object code and the perl binary may well be smaller than 5.8.7, and that's highkey thanks to a change contributed by Dave Mitchell which reworked the warnings code to be significantly smaller. Apart from being smaller and possibly faster, there should be no user-detectable changes. Periodt. π
Andy Lester supplied many improvements to determine which function parameters and local variables could actually be declared const to the C compiler. Steve Peters provided new *_set macros and reworked the core to use these rather than assigning to macros in LVALUE context. Slay. β¨
Dave Mitchell improved the lexer debugging output under -DT. π
Nicholas Clark changed the string buffer allocation so that it is now rounded up to the next multiple of 4 (or 8 on platforms with 64 bit pointers). This should reduce the number of calls to realloc without actually using any extra memory. Iconic behaviour honestly.
The HV's array of HE*s is now allocated at the correct (minimal) size, thanks to another change by Nicholas Clark. Compile with -DPERL_USE_LARGE_HV_ALLOC to use the old, sloppier, default. π«Ά
For XS or embedding debugging purposes, if perl is compiled with -DDEBUG_LEAKING_SCALARS_FORK_DUMP in addition to -DDEBUG_LEAKING_SCALARS then a child process is forked just before global destruction, which is used to display the values of any scalars found to have leaked at the end of global destruction. Without this, the scalars have already been freed sufficiently at the point of detection that it is impossible to produce any meaningful dump of their contents. This feature was implemented by the indefatigable Nicholas Clark, based on an idea by Mike Giroux. The way that man does not stopβ¦ π
π₯οΈ Platform Specific Problems π₯οΈ
The optimiser on HP-UX 11.23 (Itanium 2) is currently partly disabled (scaled down to +O1) when using HP C-ANSI-C; the cause of problems at higher optimisation levels is still unclear. π
There are a handful of remaining test failures on VMS, mostly due to test fixes and minor module tweaks with too many dependencies to integrate into this release from the development stream, where they have all been corrected. The following is a list of expected failures with the patch number of the fix where that is known:
ext/Devel/PPPort/t/ppphtest.t #26913
ext/List/Util/t/p_tainted.t #26912
lib/ExtUtils/t/PL_FILES.t #26813
lib/ExtUtils/t/basic.t #26813
t/io/fs.t
t/op/cmp.t
No cap, those two at the bottom have no patch number yet. π
π 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. π
If you believe you have an unreported bug, please run the perlbug program included with your release. Be sure to trim your bug down to a tiny but sufficient test case β that's the vibe check, fr fr. Your bug report, along with the output of perl -V, 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/ π«Ά
Bestie, real talk: a report that's too vague is giving nothing. Give them a tiny but sufficient test case and the perl -V output and you're literally the main character of bug reporting. β¨
π SEE ALSO π
- The
Changesfile for exhaustive details on what changed. π - The
INSTALLfile for how to build Perl. π¨ - The
READMEfile for general stuff. π - The
ArtisticandCopyingfiles for copyright information. Β©οΈ
and that's a wrap on the perl 5.8.8 delta, bestie π this whole page is from the perl docs, version v5.42.3, dated 2026-08-03, and the man page itself is PERL588DELTA(1). go forth and upgrade responsibly, ily, bye ππ¦π
π¦ where this page comes from
- fedora 43: perl-doc 5.42.3-524.fc43 Β· (GPL-1.0-or-later OR Artistic-1.0-Perl) AND Unicode-3.0 AND LicenseRef-Fedora-UltraPermissive
- fedora 44: perl-doc 5.42.3-525.fc44 Β· (GPL-1.0-or-later OR Artistic-1.0-Perl) AND Unicode-3.0 AND LicenseRef-Fedora-UltraPermissive
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms