PERL5201DELTA(1perl)
π perl5201delta β what's new for perl v5.20.1 π
okay bestie, welcome to the tea β this is the perl5201delta page from the 1perl manual β it's the glow-up report card for Perl. sit down, get comfy, we're reading it together π«Ά
β¨ NAME β¨
perl5201delta β literally just: what is new for perl v5.20.1 π
πΈ DESCRIPTION πΈ
This doc spills the differences between the 5.20.0 release and the 5.20.1 release. that's it, that's the vibe.
If you're upgrading from something way back like 5.18.0, no worries bb, just go read perl5200delta first β it covers the differences between 5.18.0 and 5.20.0. do your homework in order, it hits different π
π Incompatible Changes π
There are no changes intentionally incompatible with 5.20.0. periodt. if you find any, they're bugs, and the team is literally asking you to submit a report. see "Reporting Bugs" down below, bestie.
π₯ Performance Enhancements π₯
- An optimization to avoid problems with COW and deliberately overallocated PVs has been disabled, because it interfered with another, more important, optimization β which caused a slowdown on some platforms. π [GH #13878]
https://github.com/Perl/perl5/issues/13878 - Returning a string from a lexical variable could be slow in some cases. This has now been fixed. slay. [GH #13880]
https://github.com/Perl/perl5/issues/13880
π Modules and Pragmata π
β¨ Updated Modules and Pragmata β¨
Config::Perl::Vhas been upgraded from version0.20to0.22.- The list of Perl versions covered has been updated and some flaws in the parsing have been fixed. π§
Exporterhas been upgraded from version5.70to5.71.- Illegal POD syntax in the documentation has been corrected. (we don't do illegal POD in this house π)
ExtUtils::CBuilderhas been upgraded from version0.280216to0.280217.- Android builds now link to both
-lperland$Config::Config{perllibs}.
- Android builds now link to both
File::Copyhas been upgraded from version2.29to2.30.- The documentation now notes that
copywill not overwrite read-only files. noted π
- The documentation now notes that
Module::CoreListhas been upgraded from version3.11to5.020001.- The list of Perl versions covered has been updated.
- The
PathToolsmodule collection has been upgraded from version3.47to3.48.- Fallbacks are now in place when cross-compiling for Android and
$Config::Config{sh}is not yet defined. [GH #13872]https://github.com/Perl/perl5/issues/13872
- Fallbacks are now in place when cross-compiling for Android and
PerlIO::viahas been upgraded from version0.14to0.15.- A minor portability improvement has been made to the XS implementation.
Unicode::UCDhas been upgraded from version0.57to0.58.- The documentation includes many clarifications and fixes.
utf8has been upgraded from version1.13to1.13_01.- The documentation has some minor formatting improvements.
versionhas been upgraded from version0.9908to0.9909.- External libraries and Perl may have different ideas of what the locale is. This is problematic when parsing version strings if the locale's numeric separator has been changed. Version parsing has been patched to ensure it handles the locales correctly. π [GH #13863]
https://github.com/Perl/perl5/issues/13863
- External libraries and Perl may have different ideas of what the locale is. This is problematic when parsing version strings if the locale's numeric separator has been changed. Version parsing has been patched to ensure it handles the locales correctly. π [GH #13863]
π Documentation π
π Changes to Existing Documentation π
π perlapi
av_lenβ Emphasize that this returns the highest index in the array, not the size of the array. [GH #13377]https://github.com/Perl/perl5/issues/13377- Note that
SvSetSVdoesn't do set magic. sv_usepvn_flagsβ Fix documentation to mention the use ofNewXinstead ofmalloc. [GH #13835]https://github.com/Perl/perl5/issues/13835- Clarify where
NULmay be embedded or is required to terminate a string.
π perlfunc
- Clarify the meaning of
-Band-T. -lnow notes that it will return false if symlinks aren't supported by the file system. [GH #13695]https://github.com/Perl/perl5/issues/13695- Note that
each,keysandvaluesmay produce different orderings for tied hashes compared to other perl hashes. [GH #13650]https://github.com/Perl/perl5/issues/13650 - Note that
exec LISTandsystem LISTmay fall back to the shell on Win32. Onlyexec PROGRAM LISTandsystem PROGRAM LISTindirect object syntax will reliably avoid using the shell. This has also been noted inperlport. [GH #13907]https://github.com/Perl/perl5/issues/13907 - Clarify the meaning of
our. [GH #13938]https://github.com/Perl/perl5/issues/13938
π perlguts
- Explain various ways of modifying an existing SV's buffer. [GH #12813]
https://github.com/Perl/perl5/issues/12813
π perlpolicy
- We now have a code of conduct for the p5p mailing list, as documented in "STANDARDS OF CONDUCT" in
perlpolicy. yes we have β¨boundariesβ¨ now π
π perlre
- The
/xmodifier has been clarified to note that comments cannot be continued onto the next line by escaping them.
π perlsyn
- Mention the use of empty conditionals in
for/whileloops for infinite loops. (infinite loop main character energy π)
π perlxs
- Added a discussion of locale issues in XS code.
π©Ί Diagnostics π©Ί
The following additions or changes have been made to diagnostic output, including warnings and fatal error messages. For the complete list of diagnostic messages, see perldiag.
π Changes to Existing Diagnostics π
Variable length lookbehind not implemented in regex m/%s/- Information about Unicode behaviour has been added.
βοΈ Configuration and Compilation βοΈ
- Building Perl no longer writes to the source tree when configured with Configure's
-Dmksymlinksoption. clean β¨ [GH #13712]https://github.com/Perl/perl5/issues/13712
π¦ Platform Support π¦
πΈ Platform-Specific Notes πΈ
Android
Build support has been improved for cross-compiling in general and for Android in particular.
OpenBSD
Corrected architectures and version numbers used in configuration hints when building Perl.
Solaris
c99 options have been cleaned up, hints look for solstudio as well as SUNWspro, and support for native setenv has been added.
VMS
An old bug in feature checking, mainly affecting pre-7.3 systems, has been fixed.
Windows
%I64d is now being used instead of %lld for MinGW.
π§ Internal Changes π§
- Added
sync_localeinperlapi. Changing the program's locale should be avoided by XS code. Nevertheless, certain non-Perl libraries called from XS, such asGtk, do so. When this happens, Perl needs to be told that the locale has changed. Use this function to do so, before returning to Perl. π«Ά
π Selected Bug Fixes π
- A bug has been fixed where zero-length assertions and code blocks inside of a regex could cause
posto see an incorrect value. [GH #14016]https://github.com/Perl/perl5/issues/14016 - Using
s///eon tainted utf8 strings could issue bogusMalformed UTF-8 character (unexpected end of string)warnings. This has now been fixed. [GH #13948]https://github.com/Perl/perl5/issues/13948 systemand friends should now work properly on more Android builds. π- Due to an oversight, the value specified through
-Dtargetshto Configure would end up being ignored by some of the build process. This caused perls cross-compiled for Android to end up with defective versions ofsystem,execand backticks: the commands would end up looking for/bin/shinstead of/system/bin/sh, and so would fail for the vast majority of devices, leaving$!asENOENT.
- Due to an oversight, the value specified through
- Many issues have been detected by Coverity
http://www.coverity.com/and fixed.
π Acknowledgements π
Perl 5.20.1 represents approximately 4 months of development since Perl 5.20.0 and contains approximately 12,000 lines of changes across 170 files from 36 authors. the group project ATE π₯
Excluding auto-generated files, documentation and release tools, there were approximately 2,600 lines of changes to 110 .pm, .t, .c and .h files.
Perl continues to flourish into its third decade thanks to a vibrant community of users and developers. The following people are known to have contributed the improvements that became Perl 5.20.1:
Aaron Crane, Abigail, Alberto SimΓ΅es, Alexandr Ciornii, Alexandre (Midnite) Jousset, Andrew Fresh, Andy Dougherty, Brian Fraser, Chris 'BinGOs' Williams, Craig A. Berry, Daniel Dragan, David Golden, David Mitchell, H.Merijn Brand, James E Keenan, Jan Dubois, Jarkko Hietaniemi, John Peacock, kafka, Karen Etheridge, Karl Williamson, Lukas Mai, Matthew Horsfall, Michael Bunk, Peter Martini, Rafael Garcia-Suarez, Reini Urban, Ricardo Signes, Shirakata Kentaro, Smylers, Steve Hay, Thomas Sibley, Todd Rinaldo, Tony Cook, Vladimir Marek, Yves Orton.
The list above is almost certainly incomplete because it is automatically generated from version control history. In particular, it does not include the names of the (very much appreciated) contributors who reported issues to the Perl bug tracker. y'all are seen and loved π«Ά
Many of the changes included in this version originated in the CPAN modules included in Perl's core. We're grateful to the entire CPAN community for helping Perl to flourish. π
For a more complete list of all of Perl's historical contributors, please see the AUTHORS file in the Perl source distribution.
π¬ 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 https://rt.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. 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. small + sufficient = the perfect test case, no cap π
β οΈ If the bug you are reporting has security implications, which make it inappropriate to send to a publicly archived mailing list, then please send it to perl5-security-report@perl.org. This points to a closed subscription unarchived mailing list, which includes all the core committers, who will be able to help assess the impact of issues, figure out a resolution, and help co-ordinate the release of patches to mitigate or fix the problem across all platforms on which Perl is supported. Please only use this address for security issues in the Perl core, not for modules independently distributed on CPAN. π
π SEE ALSO π
- The
Changesfile for an explanation of how to view 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 bestie, you made it to the end π this whole thing is perl v5.44.0, dated 2026-10-17, from the PERL5201DELTA(1perl) manual β go forth and upgrade, you've got this π
π¦β¨
π¦ 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