PERL587DELTA(1)
π perl587delta β the tea on what's new in perl v5.8.7 π
okay bestie, welcome to perl587delta, straight out of the Perl Programmers Reference Guide (section 1, obviously). this is the glow-up recap. sit down, hydrate, let's go π«Ά
β¨ DESCRIPTION β¨
so basically? this doc is the receipts on the differences between the 5.8.6 release and the 5.8.7 release. that's it, that's the plot π
π Incompatible Changes π
ngl there are no changes incompatible with 5.8.6. zero. none. your code is safe, bestie, breathe π
π Core Enhancements π
π Unicode Character Database 4.1.0 π
the copy of the Unicode Character Database that ships inside Perl 5 has been updated, and it went from 4.0.1 all the way up to 4.1.0. if you wanna see the notable changes, they're over at http://www.unicode.org/versions/Unicode4.1.0/#NotableChanges. obsessed with an upgrade fr fr β¨
π suidperl less insecure π
a pair of exploits in suidperl involving debugging code have been closed. bye π
β οΈ for new projects, the core perl team strongly recommends that you use dedicated, single purpose security tools such assudoinstead ofsuidperl. like, please. for me.
π Optional site customization script π
the perl interpreter can be built so it allows the use of a site customization script. by default this is not enabled, to stay consistent with previous perl releases (respecting the old ways, we love that). to use it, add -Dusesitecustomize to the command line flags when you run the Configure script. also go peek at -f in perlrun. iykyk π§
π¦ 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). she lost weight and she's thriving π
π¦ Modules and Pragmata π¦
glow-ups incoming, one per bullet, no skips, no cuts:
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, and that one was 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 got itself some new options: -iname, -path and -ipath. three new flags, main character energy, periodt π
β‘ Performance Enhancements β‘
the internal pointer mapping hash used during ithreads cloning now uses an arena for memory allocation. in tests this reduced ithreads cloning time by about 10%. faster is faster, bestie π₯
π§° Installation and Configuration Improvements π§°
- the Win32
dmakemakefile.mkhas been updated so it's compatible with the latest versions of dmake. PERL_MALLOC,DEBUG_MSTATS,PERL_HASH_SEED_EXPLICITandNO_HASH_SEEDshould now work in Win32 makefiles. they were being ignored and now they're not, we love a functioning env var π«Ά
π Selected Bug Fixes π
okay this section is a whole redemption arc, buckle up:
- 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. sneaky little thing, caught. - 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. she was eating ALL the RAM, no more π 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, a whole mini-arc:- 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. (rude.)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 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 new taint error: "%ENV is aliased to %s". this error gets thrown when taint checks are enabled and when *ENV has been aliased, so that %ENV has no env-magic anymore and hence the environment cannot be verified as taint-free. the vibes are unsafe, so perl says so π
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. any behaviour changes for non-error cases are bugs, and should be reported.
π§ Changed Internals π§
there has 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 this there should be no user-detectable changes. (glow-up that only you can tell happened, iconic π
)
${^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, the new default size is 4080 bytes.
π¬ Known Problems π¬
Unicode strings returned from overloaded operators can be buggy. this is a long standing bug reported since 5.8.6 was released, but we do not yet have a suitable fix for it. still sitting there. still open. we're aware π
π 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. rest in peace to a real one π«‘π
π’ 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 β the tiny test case is the whole assignment, bestie, do not skip it β¨ 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 thing, bestie β thanks for reading, love u, go write some perl π
this lil doc came out of perl v5.42.3, dated 2026-08-03. slay, 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