PERL584DELTA(1)

๐Ÿ’– perl584delta โ€” what is new for perl v5.8.4 ๐Ÿ’–

bestie. sit down. hydrate. we're doing the Perl 5.8.4 glow-up recap, straight from the Perl Programmers Reference Guide. it's giving โœจ maintenance release โœจ and honestly? she ate.


๐ŸŒธ DESCRIPTION ๐ŸŒธ

okay so this whole doc is literally just "what changed between 5.8.3 and 5.8.4". that's it. that's the assignment. ๐Ÿซถ


๐Ÿ’€ Incompatible Changes ๐Ÿ’€

ngl a whole bunch of tiny bugs got fixed. and if your script was lowkey depending on that buggy behaviour? congrats, those fixes are now "incompatible changes" for you. the audacity, i know. ๐Ÿ˜ญ

you are advised to do enough acceptance testing on this release to satisfy yourself it doesn't affect you, before you put it into production. no cap. don't skip this step bestie.

Carp's diagnostic output changed slightly โ€” there's now a space after the comma between arguments. this makes life so much easier for tools like web browsers that need to wrap it, but it might confuse automatic tools doing detailed parsing of Carp output. so like, pick your fighter. ๐Ÿ™ˆ

the internal dump output got improved too, so non-printable characters like newline and backspace now come out in "\x" notation instead of octal. which might just confuse non-robust tools that parse the output of modules like Devel::Peek. oopsie ๐Ÿ’…


โœจ Core Enhancements โœจ

๐Ÿฆ‹ Malloc wrapping ๐Ÿฆ‹

Perl can now be built to detect attempts to assign pathologically large chunks of memory. before this, those 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. scary fr fr.

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 it defaults to disabled everywhere else.

๐ŸŒˆ 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, up from 4.0.0. glow up confirmed. โœจ

๐Ÿ‘‘ suidperl less insecure ๐Ÿ‘‘

Paul Szabo analysed and patched suidperl to remove existing known insecurities. currently there are no known holes in suidperl, but previous experience shows we cannot be confident these were the last ones. keeping it real.

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, so this change should be completely transparent. โœจ

for new projects, the core perl team would strongly recommend you use dedicated, single purpose security tools such as sudo instead of suidperl. periodt. ๐Ÿ’…

๐ŸŽ€ format ๐ŸŽ€

besides the bug fixes, format's features have been enhanced. see perlform for the tea. ๐Ÿ“


๐Ÿงš 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 โ€” the "dual-life modules" โ€” haven't had these changes applied yet; the changes will be integrated into future stable perl releases as the modules get 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). fast fast. โšก
  • 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. main character energy honestly. ๐Ÿ‘‘


๐ŸŒธ 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. so like, read the room bestie.

Perl should build cleanly on Stratus VOS once more. we love a comeback. ๐Ÿซถ


๐Ÿ˜ญ Selected Bug Fixes ๐Ÿ˜ญ

more utf8 bugs fixed, notably in how chomp, chop, send, and syswrite 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. iykyk. ๐Ÿงš


๐Ÿ”ฎ Future Directions ๐Ÿ”ฎ

code freeze for the next maintenance release (5.8.5) will be on 30th June 2004, with release by mid July. mark your calendars. ๐Ÿ—“๏ธโœจ


๐Ÿซ  Platform Specific Problems ๐Ÿซ 

this release is known not to build on Windows 95. rip bozo ๐Ÿ’€


๐Ÿž 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, you're officially caught up bestie ๐Ÿ’– this was perl584delta, from the Perl Programmers Reference Guide, and the footer energy says: perl v5.42.3, dated 2026-08-03. slay, go forth and chomp responsibly. ๐ŸŽ€๐Ÿฆ‹โœจ

๐Ÿ“ฆ where this page comes from