PERL587DELTA(1perl)
πΈ PERL587DELTA(1perl) πΈ
okay bestie, this one lives in the Perl Programmers Reference Guide section of your man pages, and it's the whole entire tea on perl587delta β what's new in perl v5.8.7. grab a snack, we're going in π
β¨ NAME β¨
perl587delta β what's new for perl v5.8.7 π¦
π« DESCRIPTION π«
this doc describes the differences between the 5.8.6 release and the 5.8.7 release. that's it, that's the vibe. no cap. π«Ά
π« Incompatible Changes
literally nothing. there are no changes incompatible with 5.8.6. we love a low-drama release. π
π Core Enhancements
π Unicode Character Database 4.1.0
the copy of the Unicode Character Database that ships inside Perl 5.8 got upgraded to 4.1.0 from 4.0.1. wanna see the notable changes? they're at http://www.unicode.org/versions/Unicode4.1.0/#NotableChanges. iconic behavior tbh β¨
π suidperl less insecure
a pair of exploits in suidperl involving debugging code? closed. gone. not the vibe anymore. π
important, fr fr: for new projects, the core perl team strongly recommends you use dedicated, single purpose security tools such assudoin preference tosuidperl. take the advice, bestie π
π οΈ Optional site customization script
the perl interpreter can be built to allow the use of a site customization script. by default this is not enabled, so it stays consistent with previous perl releases. wanna turn it on? add -Dusesitecustomize to the command line flags when you run the Configure script. also go peep -f in perlrun. π
πΈ Config.pm is now much smaller
Config.pm is now about 3K rather than 32K, because the infrequently used code and %Config values get loaded on demand. this is completely transparent to the programmer, but it means most code saves parsing and loading 29K of script (for example, code that uses File::Find). skinny legend, we stan. π
π¦ Modules and Pragmata
every single glow-up, listed, because we don't gatekeep:
Bupgraded to version1.09baseupgraded to version2.07bignumupgraded to version0.17bytesupgraded to version1.02Carpupgraded to version1.04CGIupgraded to version3.10Class::ISAupgraded to version0.33Data::Dumperupgraded to version2.121_02DB_Fileupgraded to version1.811Devel::PPPortupgraded to version3.06Digestupgraded to version1.10Encodeupgraded to version2.10FileCacheupgraded to version1.05File::Pathupgraded to version1.07File::Tempupgraded to version0.16IO::Fileupgraded to version1.11IO::Socketupgraded to version1.28Math::BigIntupgraded to version1.77Math::BigRatupgraded to version0.15overloadupgraded to version1.03PathToolsupgraded to version3.05Pod::HTMLupgraded to version1.0503Pod::Perldocupgraded to version3.14Pod::LaTeXupgraded to version0.58Pod::Parserupgraded to version1.30Symbolupgraded to version1.06Term::ANSIColorupgraded to version1.09Test::Harnessupgraded to version2.48Test::Simpleupgraded to version0.54Text::Wrapupgraded to version2001.09293, to fix a bug whenwrap()was called with a non-space separator. πthreads::sharedupgraded to version0.93Time::HiResupgraded to version1.66Time::Localupgraded to version1.11Unicode::Normalizeupgraded to version0.32utf8upgraded to version1.05Win32upgraded to version0.24, which providesWin32::GetFileVersion
π§ Utility Changes
π find2perl enhancements
find2perl has new options: -iname, -path and -ipath. go off, little utility π
β‘ Performance Enhancements
the internal pointer mapping hash used during ithreads cloning now uses an arena for memory allocation. in tests, that reduced ithreads cloning time by about 10%. speed. we love to see it π₯
π οΈ Installation and Configuration Improvements
- the Win32
dmakemakefile.mkhas been updated to make it compatible with the latest versions ofdmake. PERL_MALLOC,DEBUG_MSTATS,PERL_HASH_SEED_EXPLICITandNO_HASH_SEEDshould now work in Win32 makefiles. π
π Selected Bug Fixes
bug fix haul, and it's giving spring cleaning:
- the
socket()function on Win32 has been fixed so that it is able to use transport providers which specify a protocol of0(meaning any protocol is allowed) once more. (this was broken in5.8.6, and typically caused the use of ICMP sockets to fail.) - another obscure bug involving
substrand UTF-8, caused by bad internal offset caching, has been identified and fixed. - a bug involving the loading of UTF-8 tables by the regexp engine has been fixed β code such as
"\x{100}" =~ /[[:print:]]/will no longer give corrupt results. - case conversion operations such as
ucon a long Unicode string could exhaust memory. this has been fixed. index/rindexwere buggy for some combinations of Unicode and non-Unicode data. this has been fixed.read(and presumablysysread) would expose the UTF-8 internals when reading from a byte oriented file handle into a UTF-8 scalar. this has been fixed.- several
pack/unpackbug fixes:- checksums with
borBformats were broken. unpackchecksums could overflow with theCformat.U0andC0are now scoped to()packsub-templates.- counted length prefixes now don't change
C0/U0mode. packZ0used to destroy the preceding character.P/ppackformats used to only recognise literalundef
- checksums with
- using closures with ithreads could cause perl to crash. this was due to failure to correctly lock internal OP structures, and it has been fixed.
- the return value of
closenow correctly reflects any file errors that occur while flushing the handle's data, instead of just giving failure if the actual underlying file close operation failed. not() || 1used to segfault.not()now behaves likenot(0), which was the pre5.6.0behaviour. πβ‘οΈπh2phhas various enhancements to cope with constructs in header files that used to result in incorrect or invalid output.
π¨ New or Changed Diagnostics
there's a brand new taint error: "%ENV is aliased to %s". it gets thrown when taint checks are enabled and when *ENV has been aliased, which means %ENV has no env-magic anymore and hence the environment can't be verified as taint-free. π
the internals of pack and unpack have been updated. all legitimate templates should work as before, but there may be some changes in the error reported for complex failure cases. heads up: any behaviour changes for non-error cases are bugs, and should be reported. π
π§ Changed Internals
there's been a fair amount of refactoring of the C source code, partly to make it tidier and more maintainable. the resulting object code and the perl binary may well be smaller than 5.8.6, and hopefully faster in some cases, but apart from that there should be no user-detectable changes. a lil makeover, no visible surgery π
${^UTF8LOCALE} has been added, to give perl space access to PL_utf8locale.
the size of the arenas used to allocate SV heads and most SV bodies can now be changed at compile time. the old size was 1008 bytes, and the new default size is 4080 bytes.
π Known Problems
Unicode strings returned from overloaded operators can be buggy. it's a long standing bug that's been reported since 5.8.6 was released, and there is not yet a suitable fix for it. we're waiting on it, bestie π«
π Platform Specific Problems
on UNICOS, lib/Math/BigInt/t/bigintc.t hangs burning CPU. ext/B/t/bytecode.t and ext/Socket/t/socketpair.t both fail tests. these are unlikely to be resolved, as our valiant UNICOS porter's last Cray is being decommissioned. π―οΈ a moment of silence, honestly.
π 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 β nobody wants the whole soup, we want the minimal repro. 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/. π«Ά
π 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 the whole page, babes π this was perl v5.44.0, dated 2026-10-17, straight from your friendly neighborhood PERL587DELTA(1perl). go forth and slay your upgrades β¨π
π¦ where this page comes from
- arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms