PERL5223DELTA(1perl)
β¨ perl5223delta β the tea on Perl v5.22.3 β¨
okay bestie, this one lives in the Perl Programmers Reference Guide (it's PERL5223DELTA(1perl) if you're being formal about it) and it's literally just the glow-up notes for perl v5.22.3. sit down, hydrate, let's go π
πΈ NAME πΈ
perl5223delta β what is new for perl v5.22.3 π
π¦ DESCRIPTION π¦
This doc spills the differences between the 5.22.2 release and the 5.22.3 release. that's it, that's the vibe.
If you're upgrading from something even older, like 5.22.1, be a good student and read perl5222delta first β it's got the 5.22.1 β 5.22.2 differences. no skipping chapters β¨
π Security π
π¨ -Di switch is now required for PerlIO debugging output
ngl, previously PerlIO debugging output would just get yeeted to the file named by the PERLIO_DEBUG environment variable β as long as perl wasn't running setuid and the -T or -t switches hadn't been parsed yet. π
and here's the messy part: if perl did output at a point where it hadn't yet parsed its switches, this could result in perl creating or overwriting the file named by PERLIO_DEBUG β even when the -T switch had been supplied. not the moment, honestly.
So now? Perl requires the -Di switch to produce PerlIO debugging output. By default this is written to stderr, but you can optionally redirect it to a file by setting the PERLIO_DEBUG environment variable. cute and controlled π
heads up: if perl is running setuid, or the-Tswitch was supplied, thenPERLIO_DEBUGis ignored and the debugging output goes tostderrβ same as for any other-Dswitch.
π Core modules and tools no longer search . for optional modules
The tools and many modules supplied in core no longer search the default current directory entry in @INC for optional modules. For example, Storable will remove the final . from @INC before trying to load Log::Agent. periodt.
Why do we care? Because this prevents an attacker injecting an optional module into a process run by another user where the current directory is writable by the attacker β e.g. the /tmp directory. that's the whole plot twist. π΅οΈβοΈ
In most cases this removal should not cause problems, but difficulties were encountered with base, which treats every module name supplied as optional. These difficulties have not yet been resolved, so for this release there are no changes to base. We hope to have a fix for base in Perl 5.22.4. π€
To protect your own code from this attack, either remove the default"."entry from@INCat the start of your script β so:
#!/usr/bin/perl
use strict;
...
becomes:
#!/usr/bin/perl
BEGIN { pop @INC if $INC[-1] eq '.' }
use strict;
...
or for modules, remove"."from a localized@INC, so:
my $can_foo = eval { require Foo; }
becomes:
my $can_foo = eval {
local @INC = @INC;
pop @INC if $INC[-1] eq '.';
require Foo;
};
π Incompatible Changes π
Other than the security changes above, there are no changes intentionally incompatible with Perl 5.22.2. If any exist, they are bugs, and we request that you submit a report. See "Reporting Bugs" below. iykyk π«Ά
π¦ Modules and Pragmata π¦
β Updated Modules and Pragmata
Archive::Tarhas been upgraded from version2.04to2.04_01.bignumhas been upgraded from version0.39to0.39_01.CPANhas been upgraded from version2.11to2.11_01.Digesthas been upgraded from version1.17to1.17_01.Digest::SHAhas been upgraded from version5.95to5.95_01.Encodehas been upgraded from version2.72to2.72_01.ExtUtils::Commandhas been upgraded from version1.20to1.20_01.ExtUtils::MakeMakerhas been upgraded from version7.04_01to7.04_02.File::Fetchhas been upgraded from version0.48to0.48_01.File::Spechas been upgraded from version3.56_01to3.56_02.HTTP::Tinyhas been upgraded from version0.054to0.054_01.IOhas been upgraded from version1.35to1.35_01.- The IO-Compress modules have been upgraded from version
2.068to2.068_001. IPC::Cmdhas been upgraded from version0.92to0.92_01.JSON::PPhas been upgraded from version2.27300to2.27300_01.Locale::Maketexthas been upgraded from version1.26to1.26_01.Locale::Maketext::Simplehas been upgraded from version0.21to0.21_01.Memoizehas been upgraded from version1.03to1.03_01.Module::CoreListhas been upgraded from version5.20160429to5.20170114_22.Net::Pinghas been upgraded from version2.43to2.43_01.Parse::CPAN::Metahas been upgraded from version1.4414to1.4414_001.Pod::Htmlhas been upgraded from version1.22to1.2201.Pod::Perldochas been upgraded from version3.25to3.25_01.Storablehas been upgraded from version2.53_01to2.53_02.Sys::Sysloghas been upgraded from version0.33to0.33_01.Testhas been upgraded from version1.26to1.26_01.Test::Harnesshas been upgraded from version3.35to3.35_01.XSLoaderhas been upgraded from version0.20to0.20_01, fixing a security hole in which binary files could be loaded from a path outside of@INC. [GH #15418] <https://github.com/Perl/perl5/issues/15418> π₯ that last one is giving hero behavior
π Documentation π
π Changes to Existing Documentation
perlapio
- The documentation of
"PERLIO_DEBUG"has been updated.
perlrun
- The new
-Diswitch has been documented, and the documentation of"PERLIO_DEBUG"has been updated.
π§ͺ Testing π§ͺ
- A new test script,
t/run/switchDx.t, has been added to test that the new-Diswitch is working correctly. slay, testing is self-care π
π Selected Bug Fixes π
- The
"PadlistNAMES"macro is an lvalue again. (it said "not today" to being an rvalue, iconic honestly)
π Acknowledgements π
Perl 5.22.3 represents approximately 9 months of development since Perl 5.22.2 and contains approximately 4,400 lines of changes across 240 files from 20 authors. the way that's a whole pregnancy of code π
Excluding auto-generated files, documentation and release tools, there were approximately 2,200 lines of changes to 170 .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.22.3:
Aaron Crane, Abigail, Alex Vandiver, Aristotle Pagaltzis, Chad Granum, Chris 'BinGOs' Williams, Craig A. Berry, David Mitchell, Father Chrysostomos, James E Keenan, Jarkko Hietaniemi, Karen Etheridge, Karl Williamson, Matthew Horsfall, Niko Tyni, Ricardo Signes, Sawyer X, Stevan Little, Steve Hay, 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. π«Ά
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. accuracy is the assignment β¨
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 π no notes, we ate β this was perl v5.44.0, dated 2026-10-17, filed under PERL5223DELTA(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