PERL5100DELTA(1perl)
๐ PERL5100DELTA ๐
okay bestie, welcome to perl5100delta, the manual page that spills ALL the tea on what's new in perl 5.10.0. pull up a chair, grab a boba, we're doing this ๐งโจ
(also it lives in the Perl Programmers Reference Guide, so you know it's the good stuff ๐)
๐ธ DESCRIPTION ๐ธ
so basically this doc walks you through every single difference between the 5.8.8 release and the 5.10.0 release. like, every one. she's thorough ๐
also important: a LOT of the bug fixes that landed in 5.10.0 had already shown up in the 5.8.X maintenance releases, and those ones are not duplicated here โ they're documented in the set of man pages named perl58[1-8]?delta. so don't come for this page asking where they are, they're chilling over there ๐ฆ
๐ Core Enhancements ๐
โจ The "feature" pragma โจ
the feature pragma is how you turn on new syntax that would otherwise break Perl's backwards-compatibility with older releases of the language. and the way it does that is by being a lexical pragma, just like strict or warnings. so it only affects the scope you're in, no cap ๐
right now these are the new features available:
switchโ adds a switch statementsayโ adds asaybuilt-in functionstateโ adds astatekeyword for declaring "static" variables
each of those gets its own section in this doc, so keep reading ๐
also, feature gets implicitly loaded whenever you require a minimal perl version (with the use VERSION construct) that's greater than, or equal to, 5.9.5. details are over in feature if you want them.
๐ New -E command-line switch ๐
-E is literally equivalent to -e, except it implicitly enables all optional features (like use feature ":5.10"). that's it. that's the whole thing. iconic โจ
๐ Defined-or operator ๐
a new operator // (defined-or) has been implemented. the following expression:
$a // $b
is merely equivalent to
defined $a ? $a : $b
and the statement
$c //= $d;
can now be used instead of
$c = $d unless defined $c;
the // operator has the same precedence and associativity as ||. special care has been taken to ensure that this operator Do What You Mean while not breaking old code, but some edge cases involving the empty regular expression may now parse differently. see perlop for details ๐
๐ Switch and Smart Match operator ๐
Perl 5 now has a switch statement, bestie!! she's available when use feature 'switch' is in effect. this feature introduces three new keywords: given, when, and default:
given ($foo) {
when (/^abc/) { $abc = 1; }
when (/^def/) { $def = 1; }
when (/^xyz/) { $xyz = 1; }
default { $nothing = 1; }
}
a more complete description of how Perl matches the switch variable against the when conditions lives in "Switch statements" in perlsyn. go read it, it eats ๐ฅ
this kind of match is called smart match, and plot twist: you can also use it outside of switch statements, via the new ~~ operator. see "Smart matching in detail" in perlsyn.
this feature was contributed by Robin Houston ๐ซถ
๐ง Regular Expressions ๐ง
๐ธ Recursive Patterns ๐ธ
it is now possible to write recursive patterns without using the (??{}) construct. this new way is more efficient, and in many cases easier to read. it's giving glow-up ๐
each capturing parenthesis can now be treated as an independent pattern that can be entered by using the (?PARNO) syntax (PARNO standing for "parenthesis number"). for example, the following pattern will match nested balanced angle brackets:
/
^ # start of line
( # start capture buffer 1
< # match an opening angle bracket
(?: # match one of:
(?> # don't backtrack over the inside of this group
[^<>]+ # one or more non angle brackets
) # end non backtracking group
| # ... or ...
(?1) # recurse to bracket 1 and try it again
)* # 0 or more times.
> # match a closing angle bracket
) # end capture buffer one
$ # end of line
/x
PCRE users should note that Perl's recursive regex feature allows backtracking into a recursed pattern, whereas in PCRE the recursion is atomic or "possessive" in nature. as in the example above, you can add (?>) to control this selectively. (Yves Orton)
๐ฆ Named Capture Buffers ๐ฆ
it is now possible to name capturing parenthesis in a pattern and refer to the captured contents by name. the naming syntax is (?<NAME>....). you can backreference a named buffer with the \k<NAME> syntax. and in code, the new magical hashes %+ and %- can be used to access the contents of the capture buffers.
so to replace all doubled chars with a single copy, one could write
s/(?<letter>.)\k<letter>/$+{letter}/g
only buffers with defined contents will be "visible" in the %+ hash, so it's possible to do something like
foreach my $name (keys %+) {
print "content of buffer '$name' is $+{$name}\n";
}
the %- hash is a bit more complete, since it will contain array refs holding values from all capture buffers similarly named, if there should be many of them.
%+ and %- are implemented as tied hashes through the new module Tie::Hash::NamedCapture.
users exposed to the .NET regex engine will find that the perl implementation differs in that the numerical ordering of the buffers is sequential, and not "unnamed first, then named". thus in the pattern
/(A)(?<B>B)(C)(?<D>D)/
$1 will be 'A', $2 will be 'B', $3 will be 'C' and $4 will be 'D' โ and not $1 is 'A', $2 is 'C' and $3 is 'B' and $4 is 'D' that a .NET programmer would expect. this is considered a feature. :-) (Yves Orton)
๐ Possessive Quantifiers ๐
Perl now supports the "possessive quantifier" syntax of the "atomic match" pattern. basically a possessive quantifier matches as much as it can and never gives any back. thus it can be used to control backtracking. the syntax is similar to non-greedy matching, except instead of using a ? as the modifier the + is used. thus ?+, *+, ++, {min,max}+ are now legal quantifiers. (Yves Orton)
๐ฅ Backtracking control verbs ๐ฅ
the regex engine now supports a number of special-purpose backtrack control verbs: (*THEN), (*PRUNE), (*MARK), (*SKIP), (*COMMIT), (*FAIL) and (*ACCEPT). see perlre for their descriptions. (Yves Orton)
โญ Relative backreferences โญ
a new syntax \g{N} or \gN where N is a decimal integer allows a safer form of back-reference notation as well as allowing relative backreferences. this should make it easier to generate and embed patterns that contain backreferences. see "Capture buffers" in perlre. (Yves Orton)
๐ "\K" escape ๐
the functionality of Jeff Pinyan's module Regexp::Keep has been added to the core. in regular expressions you can now use the special escape \K as a way to do something like floating length positive lookbehind. it is also useful in substitutions like:
s/(foo)bar/$1/g
that can now be converted to
s/foo\Kbar//g
which is much more efficient. (Yves Orton)
๐ Vertical and horizontal whitespace, and linebreak ๐
regular expressions now recognize the \v and \h escapes that match vertical and horizontal whitespace, respectively. \V and \H logically match their complements.
\R matches a generic linebreak, that is, vertical whitespace, plus the multi-character sequence \x0D\x0A.
๐ Optional pre-match and post-match captures with the /p flag ๐
there is a new flag /p for regular expressions. using this makes the engine preserve a copy of the part of the matched string before the matching substring to the new special variable ${^PREMATCH}, the part after the matching substring to ${^POSTMATCH}, and the matched substring itself to ${^MATCH}.
Perl is still able to store these substrings to the special variables $`, $', $&, but using these variables anywhere in the program adds a penalty to all regular expression matches, whereas if you use the /p flag and the new special variables instead, you pay only for the regular expressions where the flag is used. so like, huge W for performance ๐ซถ
for more detail on the new variables, see perlvar; for the use of the regular expression flag, see perlop and perlre.
๐ say() ๐
say() is a new built-in, only available when use feature 'say' is in effect, that is similar to print(), but that implicitly appends a newline to the printed string. see "say" in perlfunc. (Robin Houston)
๐ Lexical $_ ๐
the default variable $_ can now be lexicalized, by declaring it like any other lexical variable, with a simple
my $_;
the operations that default on $_ will use the lexically-scoped version of $_ when it exists, instead of the global $_.
in a map or a grep block, if $_ was previously my'ed, then the $_ inside the block is lexical as well (and scoped to the block).
in a scope where $_ has been lexicalized, you can still have access to the global version of $_ by using $::_, or, more simply, by overriding the lexical declaration with our $_. (Rafael Garcia-Suarez)
โจ The "_" prototype โจ
a new prototype character has been added. _ is equivalent to $ but defaults to $_ if the corresponding argument isn't supplied (both $ and _ denote a scalar). due to the optional nature of the argument, you can only use it at the end of a prototype, or before a semicolon.
this has a small incompatible consequence: the prototype() function has been adjusted to return _ for some built-ins in appropriate cases (for example, prototype('CORE::rmdir')). (Rafael Garcia-Suarez)
๐ UNITCHECK blocks ๐
UNITCHECK, a new special code block has been introduced, in addition to BEGIN, CHECK, INIT and END.
CHECK and INIT blocks, while useful for some specialized purposes, are always executed at the transition between the compilation and the execution of the main program, and thus are useless whenever code is loaded at runtime. UNITCHECK blocks, on the other hand, are executed just after the unit which defined them has been compiled. see perlmod for more information. (Alex Gough)
๐ฆ New Pragma, "mro" ๐ฆ
a new pragma, mro (for Method Resolution Order) has been added. it permits switching, on a per-class basis, the algorithm that perl uses to find inherited methods in case of a multiple inheritance hierarchy. the default MRO hasn't changed (DFS, for Depth First Search). another MRO is available: the C3 algorithm. see mro for more information. (Brandon Black)
and there's more, bestie โ don't go anywhere ๐
okay so picking up RIGHT where we left off on the class-hierarchy tea, because this one's a breaking-change situation and I need you to hear me:
because the way class hierarchy search is implemented changed, code that used to undef the *ISA glob will most probably break. and honestly bestie? undef'ing *ISA had the side-effect of removing the magic on the @ISA array, so it should never have been done in the first place. also the cache *::ISA::CACHE:: doesn't exist anymore at all. so if you need to force-reset the @ISA cache, you now have to use the mro API, or โ way simpler โ just assign to @ISA, like:
@ISA = @ISA;
periodt. that's the whole reset. ๐
readdir() may return a "short filename" on Windows ๐ช
so readdir() can hand you back a "short filename" when the long filename contains characters outside the ANSI codepage. and it's not just readdir() โ Cwd::cwd() may return a short directory name too, and glob() may return short names as well. ๐ญ
on the NTFS file system these short names can always be represented in the ANSI codepage. but that is not true for all other file system drivers โ for example, the FAT filesystem stores short filenames in the OEM codepage, so some files on FAT volumes stay inaccessible through the ANSI APIs. no cap.
similarly, $^X, @INC, and $ENV{PATH} are preprocessed at startup to make sure all paths are valid in the ANSI codepage (if possible).
the Win32::GetLongPathName() function now returns the UTF-8 encoded correct long file name instead of using replacement characters to force the name into the ANSI codepage. and the new Win32::GetANSIPathName() function can be used to turn a long pathname into a short one only if the long one cannot be represented in the ANSI codepage. ๐
many other functions in the Win32 module have been improved to accept UTF-8 encoded arguments. please see Win32 for details.
readpipe() is now overridable ๐ฅ
okay this is iconic. the built-in function readpipe() is now overridable. and overriding it permits you to also override its operator counterpart, qx// (a.k.a. ``). on top of that, it now defaults to $_ if no argument is provided. (Rafael Garcia-Suarez)
Default argument for readline() ๐
readline() now defaults to *ARGV if no argument is provided. (Rafael Garcia-Suarez)
state() variables โจ
a whole new class of variables has entered the chat. state variables are similar to "my" variables, but they're declared with the "state" keyword instead of "my". they're visible only in their lexical scope, but here's the slay: their value is persistent. unlike "my" variables, they're not undefined at scope entry โ they retain their previous value. (Rafael Garcia-Suarez, Nicholas Clark)
to actually use state variables, you need to enable them by writing:
use feature 'state';
or by using the -E command-line switch in one-liners. see "Persistent Private Variables" in perlsub.
Stacked filetest operators ๐ง
new syntactic sugar just dropped. it's now possible to stack up filetest operators. you can literally write:
-f -w -x $file
in a row, and it means:
-x $file && -w _ && -f _
see -X in perlfunc.
UNIVERSAL::DOES() ๐
the "UNIVERSAL" class has a new method, DOES(). it was added to solve semantic problems with the isa() method. isa() checks for inheritance, while DOES() has been designed to be overridden when module authors use other types of relations between classes (in addition to inheritance). (chromatic)
see "$obj->DOES( ROLE )" in UNIVERSAL.
Formats ๐
Formats got improved in several ways, bestie:
- a new field,
"^*", can be used for variable-width, one-line-at-a-time text. ๐ฆ - null characters are now handled correctly in picture lines.
- using
"@#"and"~~"together will now produce a compile-time error, because those format fields are incompatible. not me finding out at compile time ๐ญ - perlform has been improved, and miscellaneous bugs fixed.
Byte-order modifiers for pack() and unpack() ๐
there are two new byte-order modifiers:
">"โ big-endian"<"โ little-endian
and you can append them to most pack() and unpack() template characters and groups to force a certain byte-order for that type or group. see "pack" in perlfunc and perlpacktut for details.
"no VERSION" โญ
you can now use "no" followed by a version number to specify that you want to use a version of perl older than the specified one. lowkey wild, but okay.
"chdir", "chmod" and "chown" on filehandles ๐ซถ
"chdir", "chmod" and "chown" can now work on filehandles as well as filenames โ if the system supports respectively "fchdir", "fchmod" and "fchown". thanks to a patch provided by Gisle Aas.
OS groups ๐ธ
$( and $) now return groups in the order where the OS returns them, thanks to Gisle Aas. this wasn't previously the case. so if you were relying on the old ordering, that's a vibe shift you need to know about.
Recursive sort subs ๐
you can now use recursive subroutines with sort(), thanks to Robin Houston. main character energy.
Exceptions in constant folding ๐
the constant folding routine is now wrapped in an exception handler. so if folding throws an exception (like, say, attempting to evaluate 0/0), perl now retains the current optree rather than aborting the whole program. ๐
without this change, programs would not compile if they had expressions that happened to generate exceptions โ even though those expressions were in code that could never be reached at runtime.
(Nicholas Clark, Dave Mitchell)
Source filters in @INC ๐ฆ
it's possible to enhance the mechanism of subroutine hooks in @INC by adding a source filter on top of the filehandle opened and returned by the hook. this feature was planned a long time ago, but wasn't quite working until now. see "require" in perlfunc for details. (Nicholas Clark)
New internal variables โจ
fresh variables, fresh vibes:
${^RE_DEBUG_FLAGS}โ this variable controls what debug flags are in effect for the regular expression engine when running underuse re "debug". see re for details.${^CHILD_ERROR_NATIVE}โ this variable gives the native status returned by the last pipe close, backtick command, successful call towait()orwaitpid(), or from thesystem()operator. see perlvar for details. (Contributed by Gisle Aas.)${^RE_TRIE_MAXBUF}โ see "Trie optimisation of literal string alternations".${^WIN32_SLOPPY_STAT}โ see "Sloppy stat on Windows".
Miscellaneous ๐
a lil grab-bag of slay, no skips:
unpack()now defaults to unpacking the$_variable.mkdir()without arguments now defaults to$_.- the internal dump output has been improved, so that non-printable characters such as newline and backspace are output in
"\x"notation, rather than octal. - the
-Coption can no longer be used on the"#!"line. it wasn't working there anyway, since the standard streams are already set up at this point in the execution of the perl interpreter. you can usebinmode()instead to get the desired behaviour.
UCD 5.0.0 ๐
the copy of the Unicode Character Database included in Perl 5 has been updated to version 5.0.0.
MAD ๐งช
MAD, which stands for Miscellaneous Attribute Decoration, is a still-in-development work leading to a Perl 5 to Perl 6 converter. to enable it, it's necessary to pass the argument -Dmad to Configure.
heads up though: the obtained perl isn't binary compatible with a regular perl 5.10, and it has space and speed penalties. moreover, not all regression tests still pass with it.
(Larry Wall, Nicholas Clark)
kill() on Windows ๐ช
on Windows platforms, "kill(-9, $pid)" now kills a process tree. (On Unix, this delivers the signal to all processes in the same process group.)
๐ Incompatible Changes ๐
okay bestie, buckle up, this is the part where perl 5.10 said "we're changing things and some of your old code is gonna have opinions about it". No cap. Every one of these is real, so let's get into it ๐ซถ
๐ญ Packing and UTF-8 strings
The semantics of pack() and unpack() regarding UTF-8-encoded data has been changed, bestie. Processing is now by default character per character instead of byte per byte on the underlying encoding. Notably, code that used things like pack("a*", $string) to see through the encoding of string will now simply get back the original $string. Packed strings can also get upgraded during processing when you store upgraded characters. You can get the old behaviour by using use bytes.
To be consistent with pack(), the C0 in unpack() templates indicates that the data is to be processed in character mode, i.e. character by character; on the contrary, U0 in unpack() indicates UTF-8 mode, where the packed string is processed in its UTF-8-encoded Unicode form on a byte by byte basis. This is reversed with regard to perl 5.8.X, but now consistent between pack() and unpack(). ๐
Moreover, C0 and U0 can also be used in pack() templates to specify respectively character and byte modes.
C0 and U0 in the middle of a pack or unpack format now switch to the specified encoding mode, honoring parens grouping. Previously, parens were ignored. (Not me realizing parens were just vibing in the void before this ๐ฅ)
Also, there is a new pack() character format, W, which is intended to replace the old C. C is kept for unsigned chars coded as bytes in the strings internal representation. W represents unsigned (logical) character values, which can be greater than 255. It is therefore more robust when dealing with potentially UTF-8-encoded data (as C will wrap values outside the range 0..255, and not respect the string encoding).
In practice, that means that pack formats are now encoding-neutral, except C.
For consistency, A in unpack() format now trims all Unicode whitespace from the end of the string. Before perl 5.9.2, it used to strip only the classical ASCII space characters.
๐ข Byte/character count feature in unpack()
A new unpack() template character, ., returns the number of bytes or characters (depending on the selected encoding mode, see above) read so far. Slay, a little progress counter โจ
๐ The $* and $# variables have been removed
$*, which was deprecated in favor of the /s and /m regexp modifiers, has been removed.
The deprecated $# variable (output format for numbers) has been removed.
Two new severe warnings, "$#/$* is no longer supported", have been added. So like, at least they'll tell you ๐ญ
โ๏ธ substr() lvalues are no longer fixed-length
The lvalues returned by the three argument form of substr() used to be a "fixed length window" on the original string. In some cases this could cause surprising action at distance or other undefined behaviour. Now the length of the window adjusts itself to the length of the string assigned to it. Growth mindset window fr ๐ฑ
๐ Parsing of -f _
The identifier _ is now forced to be a bareword after a filetest operator. This solves a number of misparsing issues when a global _ subroutine is defined.
๐ซ :unique
The :unique attribute has been made a no-op, since its current implementation was fundamentally flawed and not threadsafe. It's giving "we're just gonna stop pretending" ๐
๐ง Effect of pragmas in eval
The compile-time value of the %^H hint variable can now propagate into eval("")uated code. This makes it more useful to implement lexical pragmas.
As a side-effect of this, the overloaded-ness of constants now propagates into eval("").
๐ chdir FOO
A bareword argument to chdir() is now recognized as a file handle. Earlier releases interpreted the bareword as a directory name. (Gisle Aas)
๐ฆ Handling of .pmc files
An old feature of perl was that before require or use look for a file with a .pm extension, they will first look for a similar filename with a .pmc extension. If this file is found, it will be loaded in place of any potentially existing file ending in a .pm extension.
Previously, .pmc files were loaded only if more recent than the matching .pm file. Starting with 5.9.4, they'll be always loaded if they exist. No more timestamp drama ๐
๐ฎ $^V is now a "version" object instead of a v-string
$^V can still be used with the %vd format in printf, but any character-level operations will now access the string representation of the "version" object and not the ordinals of a v-string. Expressions like substr($^V, 0, 2) or split //, $^V no longer work and must be rewritten. Sorry bestie, rewrite era ๐
๐ฏ @- and @+ in patterns
The special arrays @- and @+ are no longer interpolated in regular expressions. (Sadahiro Tomoyuki)
๐ฉธ $AUTOLOAD can now be tainted
If you call a subroutine by a tainted name, and if it defers to an AUTOLOAD function, then $AUTOLOAD will be (correctly) tainted. (Rick Delaney)
๐ก๏ธ Tainting and printf
When perl is run under taint mode, printf() and sprintf() will now reject any tainted format argument. (Rafael Garcia-Suarez)
๐ก undef and signal handlers
Undefining or deleting a signal handler via undef $SIG{FOO} is now equivalent to setting it to 'DEFAULT'. (Rafael Garcia-Suarez)
โก strictures and dereferencing in defined()
use strict 'refs' was ignoring taking a hard reference in an argument to defined(), as in :
use strict 'refs';
my $x = 'foo';
if (defined $$x) {...}
This now correctly produces the run-time error Can't use string as a SCALAR ref while "strict refs" in use.
defined @$foo and defined %$bar are now also subject to strict 'refs' (that is, $foo and $bar shall be proper references there.) (defined(@foo) and defined(%bar) are discouraged constructs anyway.) (Nicholas Clark)
๐๏ธ (?p{}) has been removed
The regular expression construct (?p{}), which was deprecated in perl 5.8, has been removed. Use (??{}) instead. (Rafael Garcia-Suarez)
๐ป Pseudo-hashes have been removed
Support for pseudo-hashes has been removed from Perl 5.9. (The fields pragma remains here, but uses an alternate implementation.)
๐ Removal of the bytecode compiler and of perlcc
perlcc, the byteloader and the supporting modules (B::C, B::CC, B::Bytecode, etc.) are no longer distributed with the perl sources. Those experimental tools have never worked reliably, and, due to the lack of volunteers to keep them in line with the perl interpreter developments, it was decided to remove them instead of shipping a broken version of those. The last version of those modules can be found with perl 5.9.4.
However the B compiler framework stays supported in the perl core, as with the more useful modules it has permitted (among others, B::Deparse and B::Concise). Iconic survivors ๐
โ Removal of the JPL
The JPL (Java-Perl Lingo) has been removed from the perl sources tarball.
๐ Recursive inheritance detected earlier
Perl will now immediately throw an exception if you modify any package's @ISA in such a way that it would cause recursive inheritance.
Previously, the exception would not occur until Perl attempted to make use of the recursive inheritance while resolving a method or doing a $foo->isa($bar) lookup.
๐ข warnings::enabled and warnings::warnif changed to favor users of modules
The behaviour in 5.10.x favors the person using the module; The behaviour in 5.8.x favors the module writer;
Assume the following code:
main calls Foo::Bar::baz()
Foo::Bar inherits from Foo::Base
Foo::Bar::baz() calls Foo::Base::_bazbaz()
Foo::Base::_bazbaz() calls: warnings::warnif('substr', 'some warning message');
On 5.8.x, the code warns when Foo::Bar contains use warnings; It does not matter if Foo::Base or main have warnings enabled to disable the warning one has to modify Foo::Bar.
On 5.10.0 and newer, the code warns when main contains use warnings; It does not matter if Foo::Base or Foo::Bar have warnings enabled to disable the warning one has to modify main. The way that flipped who's in charge is lowkey iconic ๐
๐ช Removal of package; (package without arguments)
The package; syntax that would let code switch out of any package (and thus require the use of either lexical or fully-qualified names) has been removed. Its semantics were never that clear and its implementation even less so. (It was previously deprecated in perl 5.8.0.)
๐ฆ Modules and Pragmata ๐ฆ
๐ซ Upgrading individual core modules ๐ซ
okay so even MORE core modules are now available separately through CPAN, bestie. Which means if you wanna update one of these modules, you literally do NOT have to wait around for a whole new perl release to drop. From inside the cpan shell, just run the r command and it'll report back on all the modules with upgrades available. See perldoc CPAN for the deets.
โจ Pragmata Changes โจ
featureโ the brand-newfeaturepragma is the one you use to turn on new features that might break your old code. See "Thefeaturepragma" up above ๐mroโ this new pragma lets you change the algorithm used to resolve inherited methods. See "New Pragma,mro" above.- Scoping of the
sortpragma โ thesortpragma is now lexically scoped, gorgeous. Its effect used to be global. Not anymore. ๐ - Scoping of
bignum,bigint,bigratโ these three numeric pragmas are now lexically scoped too. (Tels) baseโ thebasepragma now warns if a class tries to inherit from itself. Sir, that's your own reflection. ๐ช (Curtis "Ovid" Poe)strictandwarningsโstrictandwarningswill now complain loudly if you load them with the wrong casing (likeuse Strict;). they're screaming at you for a reason bestie. (Johan Vromans)versionโ theversionmodule provides support for version objects.warningsโ thewarningspragma doesn't loadCarpanymore. Which means code that usedCarproutines without having loaded it at compile time might need adjusting; typically, this (faulty) code won't work anymore, and will require parentheses to be added after the function name:
use warnings;
require Carp;
Carp::confess 'argh';
lessโlessnow does something useful (or at least it tries to, bless its heart). Fr fr, it's been turned into a lexical pragma. So in your modules you can now test whether your users have requested to use less CPU, or less memory, less magic, or maybe even less fat. See less for more. (Joshua ben Jore)
๐ธ New modules ๐ธ
encoding::warnings, by Audrey Tang, is a module that emits warnings whenever an ASCII character string containing high-bit bytes gets implicitly converted into UTF-8. It's been a lexical pragma since Perl 5.9.4; on older perls, its effect is global.Module::CoreList, by Richard Clamp, is a small handy module that tells you what versions of core modules ship with any versions of Perl 5. It comes with a command-line frontend,corelist.Math::BigInt::FastCalcis an XS-enabled, and thus faster, version ofMath::BigInt::Calc.Compress::Zlibis an interface to the zlib compression library. It comes with a bundled version of zlib, so having a working zlib is not a prerequisite to install it. It's used byArchive::Tar(see below).IO::Zlibis anIO::-style interface toCompress::Zlib.Archive::Taris a module to manipulatetararchives.Digest::SHAis a module used to calculate many types of SHA digests, and it's been included for SHA support in the CPAN module.ExtUtils::CBuilderandExtUtils::ParseXShave been added.Hash::Util::FieldHash, by Anno Siegel, has been added. This module provides support for field hashes: hashes that maintain an association of a reference with a value, in a thread-safe garbage-collected way. Such hashes are useful to implement inside-out objects.Module::Build, by Ken Williams, has been added. It's an alternative toExtUtils::MakeMakerfor building and installing perl modules.Module::Load, by Jos Boumans, has been added. It provides a single interface to load Perl modules and .pl files.Module::Loaded, by Jos Boumans, has been added. It's used to mark modules as loaded or unloaded.Package::Constants, by Jos Boumans, has been added. It's a simple helper to list all constants declared in a given package.Win32API::File, by Tye McQueen, has been added (for Windows builds). This module provides low-level access to Win32 system API calls for files/dirs.Locale::Maketext::Simple, needed by CPANPLUS, is a simple wrapper aroundLocale::Maketext::Lexicon. Note thatLocale::Maketext::Lexiconisn't included in the perl core; the behaviour ofLocale::Maketext::Simplegracefully degrades when the latter isn't present. ๐ซถParams::Checkimplements a generic input parsing/checking mechanism. It is used by CPANPLUS.Term::UIsimplifies the task of asking questions at a terminal prompt.Object::Accessorprovides an interface to create per-object accessors.Module::Pluggableis a simple framework for creating modules that accept pluggable sub-modules.Module::Load::Conditionalprovides simple ways to query and possibly load installed modules.Time::Pieceprovides an object oriented interface to time functions, overriding the built-ins localtime() and gmtime().IPC::Cmdhelps to find and run external commands, possibly interactively.File::Fetchprovides a simple generic file fetching mechanism.Log::MessageandLog::Message::Simpleare used by the log facility ofCPANPLUS.Archive::Extractis a generic archive extraction mechanism for .tar (plain, gzipped or bzipped) or .zip files.CPANPLUSprovides an API and a command-line tool to access the CPAN mirrors.Pod::Escapesprovides utilities that are useful in decoding Pod E<...> sequences.Pod::Simpleis now the backend for several of the Pod-related modules included with Perl.
๐ Selected Changes to Core Modules ๐
Attribute::HandlersโAttribute::Handlerscan now report the caller's file and line number. (David Feldman)
All interpreted attributes are now passed as array references. (Damian Conway)
B::LintโB::Lintis now based onModule::Pluggable, and so can be extended with plugins. (Joshua ben Jore)Bโ It's now possible to access the lexical pragma hints (%^H) by using the method B::COP::hints_hash(). It returns aB::RHEobject, which in turn can be used to get a hash reference via the method B::RHE::HASH(). (Joshua ben Jore)Threadโ Since the old 5005thread threading model has been removed in favor of the ithreads scheme, theThreadmodule is now a compatibility wrapper, to be used in old code only. It has been removed from the default list of dynamic extensions.
๐ฅ Utility Changes ๐ฅ
- perl -d โ the Perl debugger can now save all debugger commands for sourcing later. Notably, it can now emulate stepping backwards, by restarting and rerunning all bar the last command from a saved command history. iconic behaviour honestly.
It can also display the parent inheritance tree of a given class, with the i command.
- ptar โ
ptaris a pure perl implementation oftarthat comes withArchive::Tar. - ptardiff โ
ptardiffis a small utility used to generate a diff between the contents of a tar archive and a directory tree. Likeptar, it comes withArchive::Tar. - shasum โ
shasumis a command-line utility, used to print or to check SHA digests. It comes with the newDigest::SHAmodule. - corelist โ the
corelistutility is now installed with perl (see "New modules" above). - h2ph and h2xs โ
h2phandh2xshave been made more robust with regard to "modern" C code.
h2xs implements a new option --use-xsloader to force use of XSLoader even in backwards compatible modules.
The handling of authors' names that had apostrophes has been fixed.
Any enums with negative values are now skipped.
- perlivp โ
perlivpno longer checks for *.ph files by default. Use the new-aoption to run all tests. - find2perl โ
find2perlnow assumes-printas a default action. Previously, it needed to be specified explicitly.
Several bugs have been fixed in find2perl, regarding -exec and -eval. Also the options -path, -ipath and -iname have been added. slay.
- config_data โ
config_datais a new utility that comes withModule::Build. It provides a command-line interface to the configuration of Perl modules that use Module::Build's framework of configurability (that is,*::ConfigDatamodules that contain local configuration information for their parent modules.) - cpanp โ
cpanp, the CPANPLUS shell, has been added. (cpanp-run-perl, a helper for CPANPLUS operation, has been added too, but isn't intended for direct use). - cpan2dist โ
cpan2distis a new utility that comes with CPANPLUS. It's a tool to create distributions (or packages) from CPAN modules. - pod2html โ the output of
pod2htmlhas been enhanced to be more customizable via CSS. Some formatting problems were also corrected. (Jari Aalto)
๐ New Documentation ๐
the perlpragma manpage documents how to write one's own lexical pragmas in pure Perl (something that is possible starting with 5.9.4).
the new perlglossary manpage is a glossary of terms used in the Perl documentation, technical and otherwise, kindly provided by O'Reilly Media, Inc.
the perlreguts manpage, courtesy of Yves Orton, describes internals of the Perl regular expression engine.
the perlreapi manpage describes the interface to the perl interpreter used to write pluggable regular expression engines (by รvar Arnfjรถrรฐ Bjarmason).
the perlunitut manpage is a tutorial for programming with Unicode and string encodings in Perl, courtesy of Juerd Waalboer.
a new manual page, perlunifaq (the Perl Unicode FAQ), has been added (Juerd Waalboer). ๐
the perlcommunity manpage gives a description of the Perl community on the Internet and in real life. (Edgar "Trizor" Bering)
the CORE manual page documents the CORE:: namespace. (Tels)
the long-existing feature of /(?{...})/ regexps setting $_ and pos() is now documented.
โก PERFORMANCE ENHANCEMENTS โก
okay bestie, this is the glow-up section, the part where perl literally got faster and skinnier and we're all obsessed ๐
โจ In-place sorting
Sorting arrays in place (that's @a = sort @a, the lil classic) is now optimized so perl doesn't make a whole temporary copy of the array first. bye, unnecessary memory ๐
Same energy for reverse sort ... โ it now sorts in reverse directly instead of building a temporary intermediate list. iconic.
โจ Lexical array access
Grabbing elements out of lexical arrays using a numeric constant between 0 and 255? Now it's faster. ngl this used to only be true for global arrays, so this is a genuine upgrade for the lexical girlies ๐
โจ XS-assisted SWASHGET
Some pure-perl code that perl was using to fetch Unicode properties and transliteration mappings got reimplemented in XS. speed. โจ
โจ Constant subroutines
The interpreter internals now support a way more memory-efficient form of inlineable constants, fr fr. Here's the deal: storing a reference to a constant value in a symbol table is equivalent to a full typeglob referencing a constant subroutine โ but it uses about 400 bytes less memory. This "proxy constant subroutine" gets automatically upgraded to a real typeglob with a subroutine if it needs to be. The whole approach is analogous to the existing space optimisation for subroutine stub declarations, which get stored as plain scalars instead of the full typeglob.
Several core modules got converted to use this for their system dependent constants โ so as a result, use POSIX; now takes about 200K less memory. ate. ๐
โจ PERL_DONT_CREATE_GVSV
The new compilation flag PERL_DONT_CREATE_GVSV, which showed up as an option back in perl 5.8.8, is turned on by default in perl 5.9.3. What does it do? It stops perl from creating an empty scalar with every new typeglob. Check perl589delta for the deets.
โจ Weak references are cheaper
Weak reference creation is now O(1) instead of O(n), courtesy of Nicholas Clark (king behavior honestly ๐). Weak reference deletion is still O(n), but if deletion only happens at program exit, it may be skipped entirely. cute.
โจ sort() enhancements
Salvador Fandiรฑo provided improvements to reduce the memory usage of sort and to speed up some cases. we love a memory-saving king ๐ธ
โจ Memory optimisations
Several internal data structures โ typeglobs, GVs, CVs, formats โ got restructured to use less memory. (Nicholas Clark)
โจ UTF-8 cache optimisation
The UTF-8 caching code is now more efficient, and it's used more often too. (Nicholas Clark)
โจ Sloppy stat on Windows
On Windows, perl's stat() function normally opens the file to determine the link count and update attributes that may have been changed through hard links. Setting ${^WIN32_SLOPPY_STAT} to a true value speeds up stat() by not performing this operation. (Jan Dubois)
โจ Regular expressions optimisations
๐ธ Engine de-recursivised
The regular expression engine is no longer recursive. What does that mean for you? Patterns that used to overflow the stack will now either die with useful explanations, or run to completion โ and since they were able to blow the stack before, that run-to-completion will likely take a very long time to happen. ๐ญ
If you were experiencing the occasional stack overflow (or segfault) and you upgrade to discover that now perl apparently hangs instead, go look for a degenerate regex. (Dave Mitchell)
๐ธ Single char char-classes treated as literals
Classes of a single character are now treated the same as if that character had been used as a literal, meaning code that uses char-classes as an escaping mechanism will see a speedup. (Yves Orton)
๐ธ Trie optimisation of literal string alternations
Alternations, where possible, are optimised into more efficient matching structures. String literal alternations get merged into a trie and are matched simultaneously. So instead of O(N) time for matching N alternations at a given point, the new code performs in O(1) time. A new special variable, ${^RE_TRIE_MAXBUF}, was added so you can fine-tune this optimization. (Yves Orton)
Note: Much code exists that works around perl's historic poor performance on alternations. Often the tricks used to do so will disable the new optimisations. Hopefully the utility modules used for this purpose will be educated about these new optimisations.
๐ธ Aho-Corasick start-point optimisation
When a pattern starts with a trie-able alternation and there aren't better optimisations available, the regex engine will use Aho-Corasick matching to find the start point. (Yves Orton)
๐ ๏ธ INSTALLATION AND CONFIGURATION IMPROVEMENTS ๐ ๏ธ
โจ Configuration improvements
๐ธ -Dusesitecustomize
Run-time customization of @INC can be enabled by passing the -Dusesitecustomize flag to Configure. When it's enabled, perl will run $sitelibexp/sitecustomize.pl before anything else. That script can then be set up to add additional entries to @INC. sneaky and useful โจ
๐ธ Relocatable installations
There's now Configure support for creating a relocatable perl tree. If you Configure with -Duserelocatableinc, then the paths in @INC (and everything else in %Config) can optionally be located via the path of the perl executable.
So what that means: if the string .../ shows up at the start of any path, it's substituted with the directory of $^X. That means the relocation can be configured on a per-directory basis โ although the default with -Duserelocatableinc is that everything gets relocated. The initial install is done to the original configured prefix.
๐ธ strlcat() and strlcpy()
The configuration process now detects whether strlcat() and strlcpy() are available. When they're not, perl's own version is used (from Russ Allbery's public domain implementation). Various places in the perl interpreter now use them. (Steve Peters)
๐ธ d_pseudofork and d_printf_format_null
A new configuration variable, available as $Config{d_pseudofork} in the Config module, has been added โ it distinguishes real fork() support from the fake pseudofork used on Windows platforms.
A new configuration variable, d_printf_format_null, has also been added, to see if printf-like formats are allowed to be NULL.
๐ธ Configure help
Configure -h has been extended with the most commonly used options. help text glow-up ๐
โจ Compilation improvements
๐ธ Parallel build
Parallel makes should work properly now, although there may still be problems if make test is instructed to run in parallel. ๐
๐ธ Borland's compilers support
Building with Borland's compilers on Win32 should work more smoothly. In particular Steve Hay has worked to side step many warnings emitted by their compilers and at least one C compiler internal error. no cap.
๐ธ Static build on Windows
Perl extensions on Windows can now be statically built into the Perl DLL.
Also, it's now possible to build a perl-static.exe that doesn't depend on the Perl DLL on Win32. See the Win32 makefiles for details. (Vadim Konovalov)
๐ธ ppport.h files
All ppport.h files in the XS modules bundled with perl are now autogenerated at build time. (Marcus Holland-Moritz)
๐ธ C++ compatibility
Efforts have been made to make perl and the core XS modules compilable with various C++ compilers (although the situation is not perfect with some of the compilers on some of the platforms tested.) it's giving "we tried our best" ๐ซถ
๐ธ Support for Microsoft 64-bit compiler
Support for building perl with Microsoft's 64-bit compiler has been improved. (ActiveState)
๐ธ Visual C++
Perl can now be compiled with Microsoft Visual C++ 2005 (and 2008 Beta 2).
๐ธ Win32 builds
All win32 builds (MS-Win, WinCE) have been merged and cleaned up. tidy queen โจ
โจ Installation improvements
๐ธ Module auxiliary files
README files and changelogs for CPAN modules bundled with perl are no longer installed. decluttered ๐
โจ New Or Improved Platforms
Perl has been reported to work on Symbian OS. See perlsymbian for more information.
Many improvements have been made towards making Perl work correctly on z/OS.
Perl has been reported to work on DragonFlyBSD and MidnightBSD.
Perl has also been reported to work on NexentaOS ( http://www.gnusolaris.org/ ).
The VMS port has been improved. See perlvms.
Support for Cray XT4 Catamount/Qk has been added. See hints/catamount.sh in the source code distribution for more information.
Vendor patches have been merged for RedHat and Gentoo.
DynaLoader::dl_unload_file() now works on Windows. ๐
๐ Selected Bug Fixes ๐
okay bestie, this is the part where perl went to therapy and fixed its โจissuesโจ. buckle up, there's a lot.
strictures in regexp-eval blocks
so strict was literally NOT in effect in regexp-eval blocks, aka things like /(?{...})/. which is giving "the rules don't apply to me" energy. fixed now. ๐
Calling CORE::require()
CORE::require() and CORE::do() were always being parsed as plain require() and do() whenever they got overridden. nope. now fixed. ๐ซถ
Subscripts of slices
you can now use a non-arrowed form for chained subscripts after a list slice, like this:
({foo => "bar"})[0]{foo}
this used to be a whole syntax error โ you had to write ->. no more. glow up. ๐
no warnings 'category' works correctly with -w
okay so previously, if you ran with warnings enabled globally via -w, then selectively disabling specific warning categories would actually turn off ALL the warnings. like, not the vibe. ๐ญ that's fixed now: no warnings 'io'; will only turn off warnings in the io class. previously it would erroneously turn off everything.
threads improvements
Several memory leaks in ithreads were closed. also, ithreads were made less memory-intensive. (slay, honestly.)
threads is now a dual-life module, also available on CPAN. it has been expanded in many ways:
- a
kill()method is available for thread signalling - one can get thread status, or the list of running or joinable threads
- a new
threads->exit()method is used to exit from the application (this is the default for the main thread) or from the current thread only (this is the default for all other threads)
on the other hand, the exit() built-in now always causes the whole application to terminate. (Jerry D. Hedden)
chr() and negative values
chr() on a negative value now gives "\x{FFFD}", the Unicode replacement character โ unless when the bytes pragma is in effect, where the low eight bits of the value are used. ๐
PERL5SHELL and tainting
On Windows, the PERL5SHELL environment variable is now checked for taintedness. (Rafael Garcia-Suarez)
Using *FILE{IO}
stat() and -X filetests now treat *FILE{IO} filehandles like *FILE filehandles. (Steve Peters)
Overloading and reblessing
Overloading now works when references are reblessed into another class. internally, this has been implemented by moving the flag for "overloading" from the reference to the referent, which logically is where it should always have been. (Nicholas Clark)
Overloading and UTF-8
A few bugs related to UTF-8 handling with objects that have stringification overloaded have been fixed. (Nicholas Clark)
eval memory leaks fixed
traditionally, eval 'syntax error' has leaked badly. many (but not all) of these leaks have now been eliminated or reduced. (Dave Mitchell)
Random device on Windows
In previous versions, perl would read the file /dev/urandom if it existed when seeding its random number generator. that file is unlikely to exist on Windows, and if it did would probably not contain appropriate data, so perl no longer tries to read it on Windows. (Alex Davies)
PERLIO_DEBUG
The PERLIO_DEBUG environment variable no longer has any effect for setuid scripts and for scripts run with -T.
moreover, with a thread-enabled perl, using PERLIO_DEBUG could lead to an internal buffer overflow. This has been fixed. ๐
PerlIO::scalar and read-only scalars
PerlIO::scalar will now prevent writing to read-only scalars. moreover, seek() is now supported with PerlIO::scalar-based filehandles, the underlying string being zero-filled as needed. (Rafael, Jarkko Hietaniemi)
study() and UTF-8
study() never worked for UTF-8 strings, but could lead to false results. it's now a no-op on UTF-8 data. (Yves Orton)
Critical signals
The signals SIGILL, SIGBUS and SIGSEGV are now always delivered in an "unsafe" manner โ contrary to other signals, that are deferred until the perl interpreter reaches a reasonably stable state; see "Deferred Signals (Safe Signals)" in perlipc. (Rafael)
@INC-hook fix
When a module or a file is loaded through an @INC-hook, and when this hook has set a filename entry in %INC, __FILE__ is now set for this module accordingly to the contents of that %INC entry. (Rafael)
-t switch fix
The -w and -t switches can now be used together without messing up which categories of warnings are activated. (Rafael)
Duping UTF-8 filehandles
Duping a filehandle which has the :utf8 PerlIO layer set will now properly carry that layer on the duped filehandle. (Rafael)
Localisation of hash elements
Localizing a hash element whose key was given as a variable didn't work correctly if the variable was changed while the local() was in effect โ as in local $h{$x}; ++$x. (Bo Lindbergh)
๐จ New or Changed Diagnostics ๐จ
the error messages got a whole makeover. she's communicating now.
Use of uninitialized value
Perl will now try to tell you the name of the variable (if any) that was undefined. so helpful of her. ๐ฅน
Deprecated use of my() in false conditional
A new deprecation warning, Deprecated use of my() in false conditional, has been added, to warn against the use of the dubious and deprecated construct
my $x if 0;
See perldiag. Use state variables instead. periodt.
!=~ should be !~
A new warning, !=~ should be !~, is emitted to prevent this misspelling of the non-matching operator. typos caught in 4K. ๐
Newline in left-justified string
The warning Newline in left-justified string has been removed. she's gone, bestie. ๐
Too late for -T option
The error Too late for -T option has been reformulated to be more descriptive.
%s variable %s masks earlier declaration
This warning is now emitted in more consistent cases; in short, when one of the declarations involved is a my variable:
my $x; my $x; # warns
my $x; our $x; # warns
our $x; my $x; # warns
on the other hand, the following:
our $x; our $x;
now gives a "our" variable %s redeclared warning.
readdir()/closedir()/etc. attempted on invalid dirhandle
These new warnings are now emitted when a dirhandle is used but is either closed or not really a dirhandle. she's watching. ๐ซฃ
Opening dirhandle/filehandle %s also as a file/directory
Two deprecation warnings have been added: (Rafael)
Opening dirhandle %s also as a file
Opening filehandle %s also as a directory
Use of -P is deprecated
Perl's command-line switch -P is now deprecated.
v-string in use/require is non-portable
Perl will warn you against potential backwards compatibility problems with the use VERSION syntax.
perl -V
perl -V has several improvements, making it more useable from shell scripts to get the value of configuration variables. See perlrun for details.
๐ง Changed Internals ๐ง
In general, the source code of perl has been refactored, tidied up, and optimized in many places. also, memory management and allocation has been improved in several points. glow up of the century.
When compiling the perl core with gcc, as many gcc warning flags are turned on as is possible on the platform. (This quest for cleanliness doesn't extend to XS code because we cannot guarantee the tidiness of code we didn't write.) similar strictness flags have been added or tightened for various other C compilers.
Reordering of SVt_* constants
The relative ordering of constants that define the various types of SV have changed; in particular, SVt_PVGV has been moved before SVt_PVLV, SVt_PVAV, SVt_PVHV and SVt_PVCV. this is unlikely to make any difference unless you have code that explicitly makes assumptions about that ordering. (The inheritance hierarchy of B::* objects has been changed to reflect this.) ๐
Elimination of SVt_PVBM
Related to this, the internal type SVt_PVBM has been removed. this dedicated type of SV was used by the index operator and parts of the regexp engine to facilitate fast Boyer-Moore matches. its use internally has been replaced by SVs of type SVt_PVGV.
New type SVt_BIND
A new type SVt_BIND has been added, in readiness for the project to implement Perl 6 on 5. there deliberately is no implementation yet, and they cannot yet be created or destroyed. manifesting, but not yet. ๐ง
Removal of CPP symbols
The C preprocessor symbols PERL_PM_APIVERSION and PERL_XS_APIVERSION, which were supposed to give the version number of the oldest perl binary-compatible (resp. source-compatible) with the present one, were not used, and sometimes had misleading values. They have been removed.
Less space is used by ops
The BASEOP structure now uses less space. The op_seq field has been removed and replaced by a single bit bit-field op_opt. op_type is now 9 bits long. (Consequently, the B::OP class doesn't provide an seq method anymore.)
New parser
perl's parser is now generated by bison โ it used to be generated by byacc. as a result, it seems to be a bit more robust. โจ
also, Dave Mitchell improved the lexer debugging output under -DT.
Use of const
Andy Lester supplied many improvements to determine which function parameters and local variables could actually be declared const to the C compiler. Steve Peters provided new *_set macros and reworked the core to use these rather than assigning to macros in LVALUE context.
Mathoms
A new file, mathoms.c, has been added. it contains functions that are no longer used in the perl core, but that remain available for binary or source compatibility reasons. however, those functions will not be compiled in if you add -DNO_MATHOMS in the compiler flags.
AvFLAGS has been removed
The AvFLAGS macro has been removed.
av_* changes
The av_*() functions, used to manipulate arrays, no longer accept null AV* parameters.
$^H and %^H
The implementation of the special variables $^H and %^H has changed, to allow implementing lexical pragmas in pure Perl. iykyk.
B:: modules inheritance changed
The inheritance hierarchy of B:: modules has changed; B::NV now inherits from B::SV โ it used to inherit from B::IV. family tree got edited. ๐ณ
Anonymous hash and array constructors
The anonymous hash and array constructors now take 1 op in the optree instead of 3, now that pp_anonhash and pp_anonlist return a reference to a hash/array when the op is flagged with OPf_SPECIAL. (Nicholas Clark) efficient queen behavior. ๐
๐ Known Problems ๐
okay bestie, before you go off and ship your lil masterpiece, there are a couple of known gremlins still in the codebase. lowkey important.
- The implementation of lexical
$_still has a remaining problem: it doesn't work inside/(?{...})/blocks. (See the TODO test int/op/mydef.t.) - Stacked filetest operators won't work when the
filetestpragma is in effect, because they rely on thestat()buffer_being populated, andfiletestbypassesstat().
๐ฆ UTF-8 problems ๐ฆ
Unicode handling is still unclean in several places, and it's dependent on whether a string is internally flagged as UTF-8. This will be made more consistent in perl 5.12, but that won't be possible without a certain amount of backwards incompatibility.
๐ Platform Specific Problems ๐
When compiled with g++ and thread support on Linux, it's reported that $! stops working correctly. This is related to the fact that the glibc provides two strerror_r(3) implementation, and perl selects the wrong one.
๐ซถ 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/rt3/. 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.
๐ SEE ALSO ๐
- The
Changesfile and theperl590deltatoperl595deltaman pages for 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, bestie. This page is from perl v5.44.0, dated 2026-10-17, and it's the PERL5100DELTA(1perl) manual page. go off, read the source, 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