PERL5121DELTA(1perl)
π PERL5121DELTA β what's new for perl v5.12.1 π
okay bestie, gather round π«Ά this is the PERL5121DELTA(1perl) page β the full tea on the 5.12.1 drop. it's a maintenance release, so it's giving "quiet luxury" more than "main character chaos", but every single detail matters. let's go. β¨
πΈ NAME πΈ
perl5121delta β what is new for perl v5.12.1 π
π¦ DESCRIPTION π¦
This doc spills the differences between the 5.12.0 release and the 5.12.1 release. no cap.
If you're upgrading from something older like 5.10.1, first go read perl5120delta, which covers everything between 5.10.0 and 5.12.0. skipping it is not the move, fr fr.
π Incompatible Changes π
There are no changes intentionally incompatible with 5.12.0. literally none. And if any incompatibilities with 5.12.0 do exist? They're bugs. like, actual bugs. please report them. π
β¨ Core Enhancements β¨
Other than the bug fixes listed below, there should be no user-visible changes to the core language in this release. so if you were hoping for a glow-up, this is more of a skincare-routine release: maintenance, not transformation. π§
π Modules and Pragmata π
π Pragmata Changes
- We fixed exporting of
is_strictandis_laxfromversion.
These were being exported with a wrapper that treated them as method calls, which caused them to fail. π They are just functions, they are documented as functions, and they should never be subclassed β so this patch just exports them directly as functions, no wrapper, no drama. periodt.
β Updated Modules
- We upgraded
CGIto version3.49to incorporate fixes for regressions introduced in the release we shipped with Perl 5.12.0. (oops, but make it fixed π«Ά) - We upgraded
Pod::Simpleto version3.14to get an improvement to\C\<\< \>\>parsing. - We made a small fix to the
CPANPLUStest suite to fix an occasional spurious test failure. fake failures are NOT invited to the function. π« - We upgraded
Safeto version2.27to wrap coderefs returned byreval()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
:=toperldiag - We removed a false claim in
perlunitutthat all text strings are Unicode strings in Perl. (ngl that claim was simply not it) - We updated the GitHub mirror link in
perlrepositorytomirrors/perl, notgithub/perl - We fixed a minor error in
perl5114delta. - We replaced a mention of the now-obsolete
Switchwithgiven/when. - We improved documentation about
$sitelibexp/sitecustomize.plinperlrun. - We corrected
perlmodlibwhich had unintentionally omitted a number of modules. we were lowkey gatekeeping modules, unintentionally. π - We updated the documentation for
requireinperlfuncrelating to putting Perl code in@INC. - We reinstated some erroneously-removed documentation about
quotemetainperlfunc. - We fixed an
a2pexample inperlutil. - We filled in a blank in
perlportwith the release date of Perl 5.12. - We fixed broken links in a number of perldelta files. links that 404 are canceled, bestie.
- The documentation for
Carpincorrectly 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
perlgplto 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. so if the test was acting up, it wasn't the test's fault, it was the clock's.
lib/blib.tandlib/locale.t: Fixes for test failures on Darwin/PPCperl5db.t: Fix for test failures whenTerm::ReadLine::Gnuis installed.
π οΈ Installation and Configuration Improvements π οΈ
π Configuration improvements
- We updated
INSTALLwith notes about how to deal with brokendbm.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
TOPsonly 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.hnow correctly redefinesfgetsunderPERL_IMPLICIT_SYS
See also: <http://rt.cpan.org/Public/Bug/Display.html?id=55049>
utf8::is_utf8now respectsGMAGIC(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. respect the elders. π«‘
- We fixed the previously-broken
-Uuseperliobuild 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. (checking for something that isn't there is giving ghost hunting π»)
- 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::firstmisbehaves in the presence of a lexical$_(typically introduced bymy $_or implicitly bygiven). 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::Conditionalandversionhave an unfortunate interaction which can causeCPANPLUSto crash when it encounters an unparseable version string. Upgrading toCPANPLUS0.9004orModule::Load::Conditional0.38from CPAN will resolve this issue. π§
π 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. that's a whole group project and everybody actually did their part?? iconic. π
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. π
π 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.
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. π no snitching to the wrong inbox bestie
π 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.
okay that's the whole thing, you're caught up bestie π
this was perl v5.44.0, dated 2026-10-17, and it's the PERL5121DELTA(1perl) page β read it, love it, go upgrade responsibly. mwah π©·π¦β¨
π¦ 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