PERL584DELTA(1perl)

๐Ÿ“ฆ
version 5.44.0 ยท 2 versions
, in arch rolling

โœจ perl584delta โ€” what is new for perl v5.8.4 โœจ

okay bestie, this is PERL584DELTA from the Perl Programmers Reference Guide, and it's the tea on everything that shifted between one perl version and the next ๐Ÿ’–

๐ŸŒธ DESCRIPTION ๐ŸŒธ

This doc spills the differences between the 5.8.3 release and the 5.8.4 release. periodt.


๐Ÿ’€ Incompatible Changes ๐Ÿ’€

ngl, a whole bunch of minor bugs got fixed. Which means โ€” plot twist โ€” scripts that were lowkey relying on the previously erroneous behaviour are gonna consider these fixes "incompatible changes" :-) So please, bestie, do enough acceptance testing on this release to satisfy yourself that none of this messes with you, before you yeet it into production. ๐Ÿ™ˆ

The diagnostic output of Carp has been changed slightly, to add a space after the comma between arguments. This makes it so much easier for tools like web browsers to wrap it, but it might confuse any automatic tools that do detailed parsing of Carp output. ๐Ÿ˜ญ

The internal dump output has been improved, so that non-printable characters such as newline and backspace are output in \x notation instead of octal. This might just confuse non-robust tools which parse the output of modules such as Devel::Peek.


๐Ÿ‘‘ Core Enhancements ๐Ÿ‘‘

๐ŸŒˆ Malloc wrapping

Perl can now be built to detect attempts to assign pathologically large chunks of memory. Before this, such assignments would suffer from integer wrap-around during size calculations, causing a misallocation, which would crash perl โ€” and could theoretically be used for "stack smashing" attacks. ๐Ÿ’€ The wrapping defaults to enabled on platforms where we know it works (most AIX configurations, BSDi, Darwin, DEC OSF/1, FreeBSD, HP/UX, GNU Linux, OpenBSD, Solaris, VMS and most Win32 compilers) and defaults to disabled on other platforms.

๐Ÿฆ‹ Unicode Character Database 4.0.1

The copy of the Unicode Character Database included in Perl 5.8 has been updated to 4.0.1 from 4.0.0. glow up โœจ

๐Ÿ”ฅ suidperl less insecure

Paul Szabo has analysed and patched suidperl to remove existing known insecurities. Currently there are no known holes in suidperl, but previous experience shows that we cannot be confident that these were the last. ๐Ÿ˜ฌ

You may no longer invoke the set uid perl directly, so to preserve backwards compatibility with scripts that invoke #!/usr/bin/suidperl the only set uid binary is now sperl5.8.n (sperl5.8.4 for this release). suidperl is installed as a hard link to perl; both suidperl and perl will invoke sperl5.8.4 automatically โ€” the set uid binary โ€” so this change should be completely transparent. ๐Ÿซถ

For new projects the core perl team would strongly recommend that you use dedicated, single purpose security tools such as sudo in preference to suidperl.

๐ŸŽ€ format

In addition to bug fixes, format's features have been enhanced. See perlform ๐Ÿ’…


๐Ÿงš Modules and Pragmata ๐Ÿงš

The (mis)use of /tmp in core modules and documentation has been tidied up. ๐Ÿงน Some modules available both within the perl core and independently from CPAN ("dual-life modules") have not yet had these changes applied; the changes will be integrated into future stable perl releases as the modules are updated on CPAN.

โญ Updated modules

  • Attribute::Handlers
  • B
  • Benchmark
  • CGI
  • Carp
  • Cwd
  • Exporter
  • File::Find
  • IO
  • IPC::Open3
  • Local::Maketext
  • Math::BigFloat
  • Math::BigInt
  • Math::BigRat
  • MIME::Base64
  • ODBM_File
  • POSIX
  • Shell
  • Socket
    • There is experimental support for Linux abstract Unix domain sockets. ๐Ÿ‘€
  • Storable
  • Switch
    • Synced with its CPAN version 2.10
  • Sys::Syslog
    • syslog() can now use numeric constants for facility names and priorities, in addition to strings.
  • Term::ANSIColor
  • Time::HiRes
  • Unicode::UCD
  • Win32
    • Win32.pm/Win32.xs has moved from the libwin32 module to core Perl
  • base
  • open
  • threads
    • Detached threads are now also supported on Windows.
  • utf8

๐Ÿ”ฅ Performance Enhancements ๐Ÿ”ฅ

  • Accelerated Unicode case mappings (/i, lc, uc, etc).
  • In place sort optimised (eg @a = sort @a)
  • Unnecessary assignment optimised away in
my $s = undef;
my @a = ();
my %h = ();
  • Optimised map in scalar context

๐Ÿ’… Utility Changes ๐Ÿ’…

The Perl debugger (lib/perl5db.pl) can now save all debugger commands for sourcing later, and can display the parent inheritance tree of a given class. she ate ๐Ÿ’…โœจ


๐ŸŒธ Installation and Configuration Improvements ๐ŸŒธ

The build process on both VMS and Windows has had several minor improvements made. On Windows Borland's C compiler can now compile perl with PerlIO and/or USE_LARGE_FILES enabled.

perl.exe on Windows now has a "Camel" logo icon. ๐Ÿช The use of a camel with the topic of Perl is a trademark of O'Reilly and Associates Inc., and is used with their permission (ie distribution of the source, compiling a Windows executable from it, and using that executable locally). Use of the supplied camel for anything other than a perl executable's icon is specifically not covered, and anyone wishing to redistribute perl binaries with the icon should check directly with O'Reilly beforehand. ๐Ÿ‘‘

Perl should build cleanly on Stratus VOS once more.


๐Ÿฉน Selected Bug Fixes ๐Ÿฉน

More utf8 bugs fixed, notably in how chomp, chop, send, and syswrite and interact with utf8 data. Concatenation now works correctly when use bytes; is in scope.

Pragmata are now correctly propagated into (?{...}) constructions in regexps. Code such as

my $x = qr{ ... (??{ $x }) ... };

will now (correctly) fail under use strict. (As the inner $x is and has always referred to $::x)

The "const in void context" warning has been suppressed for a constant in an optimised-away boolean expression such as "5 || print;"

perl -i could fchmod(stdin) by mistake. This is serious if stdin is attached to a terminal, and perl is running as root. Now fixed. ๐Ÿ˜ฎโ€๐Ÿ’จ


๐Ÿ—ฃ๏ธ New or Changed Diagnostics ๐Ÿ—ฃ๏ธ

Carp and the internal diagnostic routines used by Devel::Peek have been made clearer, as described in "Incompatible Changes"


๐Ÿ› ๏ธ Changed Internals ๐Ÿ› ๏ธ

Some bugs have been fixed in the hash internals. Restricted hashes and their place holders are now allocated and deleted at slightly different times, but this should not be visible to user code.


๐Ÿ”ฎ Future Directions ๐Ÿ”ฎ

Code freeze for the next maintenance release (5.8.5) will be on 30th June 2004, with release by mid July.


๐Ÿ’€ Platform Specific Problems ๐Ÿ’€

This release is known not to build on Windows 95.


๐Ÿ› 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://bugs.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. You can browse and search the Perl 5 bugs at http://bugs.perl.org/


๐Ÿ‘€ SEE ALSO ๐Ÿ‘€

The Changes file for exhaustive details on what changed.

The INSTALL file for how to build Perl.

The README file for general stuff.

The Artistic and Copying files for copyright information.


okay that's the whole thing bestie, no skips, no crumbs left ๐Ÿ’– this was perl v5.44.0, dated 2026-10-17, and it's giving PERL584DELTA(1perl) energy โ€” ty for coming to my TED talk, ily, bye ๐ŸŽ€โœจ

๐Ÿ“ฆ 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