PERL5401DELTA(1perl)
π perl5401delta β what is new for perl v5.40.1 π
okay bestie, this page lives in the Perl Programmers Reference Guide and its whole manual name is PERL5401DELTA(1perl) β say it with me now, one time for the release notes. π This is the glow-up log, the receipts, the little changelog that could. Let's get into it. β¨
πΈ DESCRIPTION πΈ
This doc spills the tea on everything that changed between the 5.40.0 release and the 5.40.1 release. fr fr, that's the whole scope.
If you're jumping up from something older like 5.38.0, no worries, just read perl5400delta first, because that one covers the glow-up from 5.38.0 to 5.40.0. Do it in order, queen. π
π Incompatible Changes π
Good news, no drama: there are no changes intentionally incompatible with 5.40.0. Periodt.
If you do find any, they're bugs, and we would very much like you to submit a report about it. Peep "Reporting Bugs" below for the deets. π«Ά
π¦ Modules and Pragmata π¦
β¨ Updated Modules and Pragmata β¨
Some very iconic modules got their little upgrades:
File::Spechas been upgraded from version3.90to3.91. πΈModule::CoreListhas been upgraded from version5.20240609to5.20250118_40. πwarningshas been upgraded from version1.69to1.70. β¨
π Documentation π
π Changes to Existing Documentation π
We have attempted to update the documentation to reflect the changes listed in this document. The way we're trying π β but if you find any we missed, please open an issue at <https://github.com/Perl/perl5/issues>. Not me asking you to snitch, but like, do snitch. π
π οΈ Configuration and Compilation π οΈ
- Fixed compilation on platforms (e.g.
Gentoo Prefix) with only a C locale. [GH #22569 <https://github.com/Perl/perl5/issues/22569>] Bug first reported downstream at bugs.gentoo.org/939014 <https://bugs.gentoo.org/939014>. π₯ - Fixed compilation error on some systems due to a typo in a
printf()format. [GH #22793 <https://github.com/Perl/perl5/issues/22793>] β a whole typo, in a format string, holding up builds. it's giving humility. π
π§ͺ Testing π§ͺ
Tests were added and changed to reflect the other additions and changes in this release. We don't ship vibes without receipts, bestie. β
π Selected Bug Fixes π
- Starting in Perl
5.39.8,"strftime"inPOSIXwould crash or produce odd errors (such asOut of memory in perl:util:safesysmalloc) when given a format string that wasn't actually a string, but a number,undef, or an object (even one with overloaded string conversion). π
Now "strftime" stringifies its first argument, as before. [GH #22498 <https://github.com/Perl/perl5/issues/22498>] β back to behaving, we love a redemption arc. π¦
- Builds with
-msseandquadmathon 32-bit x86 systems would crash with a misaligned access early in the build. [GH #22577 <https://github.com/Perl/perl5/issues/22577>] β early! in the build! embarrassing, but fixed. π - Using
gototo tail call, or using thecall_sv()and related APIs to call, any oftrim(),refaddr(),reftype(),ceil(),floor()orstringify()in thebuiltin::package would crash or assert due to aTARGhandling bug. [GH #22542 <https://github.com/Perl/perl5/issues/22542>] βTARGwas going through it, we held its hand. π«Ά - Fixed an issue where
utf8n_to_uvchr()failed to correctly identify certain invalid UTF-8 sequences as invalid. Specifically, sequences that start with continuation bytes or unassigned bytes could cause unexpected behaviour or a panic. This fix ensures that such invalid sequences are now properly detected and handled. This correction also resolves related issues in modules that handle UTF-8 processing, such asEncode. π β invalid input is now correctly clocked as invalid, as it should be. vibe check passed. - Fixed a double free error or possible memory leak when failing to compile certain regexps. [GH #21661 <https://github.com/Perl/perl5/issues/21661>] β regexes stay messy, the memory handling does not. π
π Acknowledgements π
Perl 5.40.1 represents approximately 7 months of development since Perl 5.40.0 and contains approximately 5,600 lines of changes across 54 files from 15 authors. The numbers are giving dedication. π₯
Excluding auto-generated files, documentation and release tools, there were approximately 1,800 lines of changes to 19 .pm, .t, .c and .h files.
Perl continues to flourish into its fourth decade thanks to a vibrant community of users and developers. The following people are known to have contributed the improvements that became Perl 5.40.1:
Andrei Horodniceanu, Chris 'BinGOs' Williams, E. Choroba, Graham Knop, James E Keenan, Karen Etheridge, Karl Williamson, Lukas Mai, Masahiro Honma, Max Maischein, Philippe Bruhat (BooK), Richard Leach, Steve Hay, Thibault Duponchelle, Tony Cook.
The list above is almost certainly incomplete as 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. π every single one of y'all matters, the script just can't see you.
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 perl bug database at <https://github.com/Perl/perl5/issues>. There may also be information at <https://www.perl.org/>, the Perl Home Page. π
If you believe you have an unreported bug, please open an issue at <https://github.com/Perl/perl5/issues>. Be sure to trim your bug down to a tiny but sufficient test case β we do not want the whole novel, we want the one perfect paragraph. βοΈ
If the bug you are reporting has security implications which make it inappropriate to send to a public issue tracker, then see "SECURITY VULNERABILITY CONTACT INFORMATION" in perlsec for details of how to report the issue. > please do not just post the exploit in the group chat, bestie. read perlsec first. π
π Give Thanks π
If you wish to thank the Perl 5 Porters for the work we had done in Perl 5, you can do so by running the "perlthanks" program:
perlthanks
This will send an email to the Perl 5 Porters list with your show of thanks. Not me tearing up at a thank-you email. wholesome. π₯Ήπ
π¦ 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.
aaaand that's the page, bestie β this was Perl v5.44.0, dated 2026-10-17, filed under PERL5401DELTA(1perl). go forth and upgrade responsibly. β¨π
π«Ά
π¦ 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