PERL5121DELTA(1)
π perl5121delta π
okay bestie, gather round, because this is the Perl Programmers Reference Guide page for perl5121delta β aka what is new for perl v5.12.1 β¨ no cap, this is the tea on everything that changed.
β¨ NAME β¨
perl5121delta β what is new for perl v5.12.1 π
πΈ DESCRIPTION πΈ
So this doc spills the differences between the 5.12.0 release and the 5.12.1 release. That's it, that's the whole vibe.
If you're upgrading from something earlier, like 5.10.1, bestie you gotta read perl5120delta first, because that one describes the differences between 5.10.0 and 5.12.0. Do not skip steps π
π Incompatible Changes π
There are no changes intentionally incompatible with 5.12.0. If any incompatibilities with 5.12.0 exist, they are bugs. Please report them. (Yes, fr fr, report them β we want them gone.)
π Core Enhancements π
Other than the bug fixes listed below, there should be no user-visible changes to the core language in this release. It's giving "quiet luxury" β nothing flashy, everything solid β¨
π¦ Modules and Pragmata π¦
π Pragmata Changes π
- We fixed exporting of
is_strictandis_laxfrom version.
These were being exported with a wrapper that treated them as method calls, which caused them to fail. They are just functions, are documented as such, and should never be subclassed, so this patch just exports them directly as functions without the wrapper. Iconic behavior honestly β no wrapper, no drama π«Ά
π Updated Modules π
- We upgraded CGI to version 3.49 to incorporate fixes for regressions introduced in the release we shipped with Perl 5.12.0.
- We upgraded Pod::Simple to version 3.14 to get an improvement to
\C\<\< \>\>parsing. - We made a small fix to the CPANPLUS test suite to fix an occasional spurious test failure.
- We upgraded Safe to version 2.27 to wrap coderefs returned by
reval()andrdo().
π Changes to Existing Documentation π
- We added the new maintenance release policy to perlpolicy
- We've clarified the multiple-angle-bracket construct in the spec for POD in perlpodspec
- We added a missing explanation for a warning about
:=to perldiag - We removed a false claim in perlunitut that all text strings are Unicode strings in Perl.
- We updated the GitHub mirror link in perlrepository to
mirrors/perl, notgithub/perl - We fixed a minor error in perl5114delta.
- We replaced a mention of the now-obsolete Switch with
given/when. - We improved documentation about
$sitelibexp/sitecustomize.plin perlrun. - We corrected perlmodlib which had unintentionally omitted a number of modules.
- We updated the documentation for
'require'in perlfunc relating to putting Perl code in@INC. - We reinstated some erroneously-removed documentation about
quotemetain perlfunc. - We fixed an
a2pexample in perlutil. - We filled in a blank in perlport with the release date of Perl 5.12.
- We fixed broken links in a number of perldelta files.
- The documentation for Carp incorrectly stated that the
$Carp::Verbosevariable makescluckgenerate stack backtraces. - We fixed a number of typos in Pod::Functions
- We improved documentation of case-changing functions in perlfunc
- We corrected perlgpl to contain the correct version of the GNU General Public License.
π§ͺ Testing π§ͺ
π Testing Improvements π
t/op/sselect.tis now less prone to clock jitter during timing checks on Windows.
sleep() time on Win32 may be rounded down to multiple of the clock tick interval. (iykyk, clocks are messy π)
lib/blib.tandlib/locale.t: Fixes for test failures on Darwin/PPCperl5db.t: Fix for test failures when"Term::ReadLine::Gnu"is installed.
π§ Installation and Configuration Improvements π§
β Configuration improvements β
- We updated INSTALL with notes about how to deal with broken
dbm.hon OpenSUSE (and possibly other platforms)
π Bug Fixes π
- A bug in how we process filetest operations could cause a segfault. Filetests don't always expect an op on the stack, so we now use TOPs only if we're sure that we're not stat'ing the
_filehandle. This is indicated byOPf_KIDS(as checked inck_ftst).
See also: <https://github.com/Perl/perl5/issues/10335>
- When deparsing a
nextstateop that has both a change of package (relative to the previousnextstate) and a label, the package declaration is now emitted first, because it is syntactically impermissible for a label to prefix a package declaration. - XSUB.h now correctly redefines
fgetsunderPERL_IMPLICIT_SYS
See also: <http://rt.cpan.org/Public/Bug/Display.html?id=55049>
utf8::is_utf8now respects GMAGIC (e.g.$1)- XS code using
fputc()orfputs(): on Windows could cause an error due to their arguments being swapped.
See also: <https://github.com/Perl/perl5/issues/10156>
- We fixed a small bug in
lex_stuff_pvn()that caused spurious syntax errors in an obscure situation. It happened when stuffing was performed on the last line of a file and the line ended with a statement that lacked a terminating semicolon.
See also: <https://github.com/Perl/perl5/issues/10273>
- We fixed a bug that could cause
\N{}constructs followed by a single.to be parsed incorrectly.
See also: <https://github.com/Perl/perl5/issues/10367>
- We fixed a bug that caused
when(scalar)without an argument not to be treated as a syntax error.
See also: <https://github.com/Perl/perl5/issues/10287>
- We fixed a regression in the handling of labels immediately before string evals that was introduced in Perl 5.12.0.
See also: <https://github.com/Perl/perl5/issues/10301>
- We fixed a regression in case-insensitive matching of folded characters in regular expressions introduced in Perl 5.10.1.
See also: <https://github.com/Perl/perl5/issues/10193>
π₯οΈ Platform Specific Notes π₯οΈ
πΈ HP-UX πΈ
- Perl now allows
-Duse64bitintwithout promoting touse64bitallon HP-UX
π AIX π
- Perl now builds on AIX 4.2
The changes required work around AIX 4.2s' lack of support for IPv6, and limited support for POSIX sigaction().
π¦ FreeBSD 7 π¦
- FreeBSD 7 no longer contains
/usr/bin/objformat. At build time, Perl now skips theobjformatcheck for versions 7 and higher and assumes ELF.
π VMS π
- It's now possible to build extensions on older (pre 7.3-2) VMS systems.
DCL symbol length was limited to 1K up until about seven years or so ago, but there was no particularly deep reason to prevent those older systems from configuring and building Perl.
- We fixed the previously-broken
"-Uuseperlio"build on VMS.
We were checking a variable that doesn't exist in the non-default case of disabling perlio. Now we only look at it when it exists.
- We fixed the
-Uuseperliocommand-line option inconfigure.com.
Formerly it only worked if you went through all the questions interactively and explicitly answered no.
β οΈ Known Problems β οΈ
"List::Util::first"misbehaves in the presence of a lexical$_(typically introduced by"my $_"or implicitly by"given"). The variable which gets set for each iteration is the package variable$_, not the lexical$_.
A similar issue may occur in other modules that provide functions which take a block as their first argument, like
foo { ... $_ ...} list
See also: <https://github.com/Perl/perl5/issues/9798>
"Module::Load::Conditional"and"version"have an unfortunate interaction which can cause"CPANPLUS"to crash when it encounters an unparseable version string. Upgrading to"CPANPLUS"0.9004 or"Module::Load::Conditional"0.38 from CPAN will resolve this issue.
no cap, that second one is a real "oh no" moment β go upgrade bestie π«Ά
π Acknowledgements π
Perl 5.12.1 represents approximately four weeks of development since Perl 5.12.0 and contains approximately 4,000 lines of changes across 142 files from 28 authors. The way that's likeβ¦ a whole month of people caring about Perl. Obsessed ππ
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.12.1:
Γvar ArnfjΓΆrΓ° Bjarmason, Chris Williams, chromatic, Craig A. Berry, David Golden, Father Chrysostomos, Florian Ragwitz, Frank Wiegand, Gene Sullivan, Goro Fuji, H.Merijn Brand, James E Keenan, Jan Dubois, Jesse Vincent, Josh ben Jore, Karl Williamson, Leon Brocard, Michael Schwern, Nga Tang Chan, Nicholas Clark, Niko Tyni, Philippe Bruhat, Rafael Garcia-Suarez, Ricardo Signes, Steffen Mueller, Todd Rinaldo, Vincent Pit and Zefram.
every single one of them ate, periodt π
π 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://rt.perl.org/perlbug/> . 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. (tiny but sufficient test case β the way that matters so much, please do this π)
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.
security stuff goes to the security address, not the public list, and definitely not for CPAN modules. important!! π
π 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 a wrap on perl5121delta, bestie!! πβ¨ this whole page is from the Perl Programmers Reference Guide, page generated as perl v5.42.3 on 2026-08-03 β go forth and read your deltas, you're doing amazing sweetie π
ππ¦
π¦ 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