PERL5181DELTA(1perl)
๐ NAME ๐
perl5181delta โ what is new for perl v5.18.1 โจ aka the lil glow-up release notes, bestie
๐ฆ DESCRIPTION ๐ฆ
Okay so this doc is literally just: what changed between the 5.18.0 release and the 5.18.1 release. That's it. That's the whole vibe. ๐
But heads up โ if you're jumping in from something way older, like 5.16.0, do not start here, bestie, that would be chaos. Read perl5180delta first, because that one explains all the differences between 5.16.0 and 5.18.0. Slay in the correct order please. ๐
๐ซ Incompatible Changes ๐ซ
Good news: there are no changes that were intentionally made to break stuff that worked in 5.18.0. Zero. None. โจ
If you do find one, that's not a feature, that's a bug โ and the devs would very much like you to submit a report. Peep "Reporting Bugs" down below. ๐ซถ
๐ฆ Modules and Pragmata ๐ฆ
๐ Updated Modules and Pragmata ๐
Bgot upgraded from1.42to1.42_01โ it fixes bugs related to lexical subroutines. glow up ๐Digest::SHAgot upgraded from5.84to5.84_01, fixing a crashing bug. no more crime ๐ญ [RT #118649]Module::CoreListgot upgraded from2.89to2.96. periodt. ๐
๐ฅ๏ธ Platform Support ๐ฅ๏ธ
๐บ๏ธ Platform-Specific Notes ๐บ๏ธ
- AIX โ a rarely-encountered configuration bug in the AIX hints file has been corrected. it's giving fixed ๐
- MidnightBSD โ after a patch to the relevant hints file, perl should now build correctly on MidnightBSD 0.4-RELEASE. we love to see it ๐ธ
๐ Selected Bug Fixes ๐
- Starting in v5.18.0, a construct like
/[#](?{})/xwould have its#incorrectly interpreted as a comment. The code block would be skipped, unparsed. This has been corrected. not me being a comment when I'm literally code ๐ - A number of memory leaks related to the new, experimental regexp bracketed character class feature have been plugged. no more drip, only sealed ๐ซถ
- The OP allocation code now returns correctly aligned memory in all cases for
struct pmop. Previously it could return memory only aligned to a 4-byte boundary, which is not correct for an ithreads build with 64 bit IVs on some 32 bit platforms. Notably, this caused the build to fail completely on sparc GNU/Linux. [RT #118055] ๐ญ that's a whole mood killer - The debugger's
mancommand been fixed. It was broken in the v5.18.0 release. Themancommand is aliased to the namesdocandperldocโ all now work again. the trio is back together โจ @_is now correctly visible in the debugger, fixing a regression introduced in v5.18.0's debugger. [RT #118169] we love a visible@_๐- Fixed a small number of regexp constructions that could either fail to match or crash perl when the string being matched against was allocated above the 2GB line on 32-bit systems. [RT #118175] ๐ต
- Perl v5.16 inadvertently introduced a bug whereby calls to XSUBs that were not visible at compile time were treated as lvalues and could be assigned to, even when the subroutine was not an lvalue sub. This has been fixed. [perl #117947] not the accidental lvalue era ๐ซ
- Perl v5.18 inadvertently introduced a bug whereby dual-vars (i.e. variables with both string and numeric values, such as
$!) where the truthness of the variable was determined by the numeric value rather than the string value. [RT #118159] lowkey unhinged behavior, glad it's gone ๐ - Perl v5.18 inadvertently introduced a bug whereby interpolating mixed up- and down-graded UTF-8 strings in a regex could result in malformed UTF-8 in the pattern: specifically if a downgraded character in the range
"\x80..\xff"followed a UTF-8 string, e.g.
utf8::upgrade( my $u = "\x{e5}");
utf8::downgrade(my $d = "\x{e5}");
/$u$d/
[perl #118297]. ๐
- Lexical constants (
my sub a() { 42 }) no longer crash when inlined. iconic, honestly ๐ - Parameter prototypes attached to lexical subroutines are now respected when compiling sub calls without parentheses. Previously, the prototypes were honoured only for calls with parentheses. [RT #116735] ๐
- Syntax errors in lexical subroutines in combination with calls to the same subroutines no longer cause crashes at compile time. phew ๐ฎโ๐จ
- The dtrace sub-entry probe now works with lexical subs, instead of crashing [perl #118305]. probe said slay ๐ซ
- Undefining an inlinable lexical subroutine (
my sub foo() { 42 } undef &foo) would result in a crash if warnings were turned on. scary!! fixed. ๐ - Deep recursion warnings no longer crash lexical subroutines. [RT #118521] ๐ซถ
๐ Acknowledgements ๐
Perl 5.18.1 represents approximately 2 months of development since Perl 5.18.0 and contains approximately 8,400 lines of changes across 60 files from 12 authors. that's the whole group project and everyone ate ๐ฅ
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.18.1:
Chris 'BinGOs' Williams, Craig A. Berry, Dagfinn Ilmari Mannsรฅker, David Mitchell, Father Chrysostomos, Karl Williamson, Lukas Mai, Nicholas Clark, Peter Martini, Ricardo Signes, Shlomi Fish, Tony Cook.
12 icons fr fr ๐
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. (y'all are the real MVPs and we 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 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. go do your research first bestie ๐
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 test case = the whole assignment, do not skip ๐
โ ๏ธ 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. ๐ seriously, that address is for core security only, iykyk
๐ 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. โ๏ธ
mwah, that's the whole page, bestie ๐ this was pulled from the Perl Programmers Reference Guide, documented for perl v5.44.0 and dated 2026-10-17, filed under PERL5181DELTA(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