NAME
perldelta - what is new for perl v5.43.5
DESCRIPTION
This document describes differences between the 5.43.4 release and the 5.43.5 release.
If you are upgrading from an earlier release such as 5.43.3, first read perl5434delta, which describes differences between 5.43.3 and 5.43.4.
Core Enhancements
Named Parameters in Signatures
This adds a major new ability to subroutine signatures, allowing callers to pass parameters by name/value pairs rather than by position.
sub f ($x, $y, :$alpha, :$beta = undef) { ... }
f( 123, 456, alpha => 789 );
Originally specified in PPC0024.
This feature is currently considered experimental, and is described in further detail in "Signatures" in perlsub.
Modules and Pragmata
Updated Modules and Pragmata
Compress::Raw::Bzip2 has been upgraded from version 2.213 to 2.214.
Compress::Raw::Zlib has been upgraded from version 2.213 to 2.214.
Getopt::Std has been upgraded from version 1.14 to 1.15.
IO::Compress has been upgraded from version 2.213 to 2.214.
Module::CoreList has been upgraded from version 5.20251022 to 5.20251120.
Term::Table has been upgraded from version 0.025 to 0.027.
Test::Simple has been upgraded from version 1.302214 to 1.302216.
Time::Piece has been upgraded from version 1.38 to 1.41.
warnings has been upgraded from version 1.74 to 1.75.
Selected Bug Fixes
use 5.42now turns onuse source::encoding "ascii"for the remainder of the line (besides subsequent lines). [GH #23881]Since 5.32.0, the second branch of a ternary condition operator wasn't getting the correct autovivification context applied. For example in something like
@{ $cond ? $h{foo} : $h{bar} } = ...;the first branch would correctly autovivify
$h{foo}to an array ref, but the second branch might incorrectly autovivify$h{bar}to a hash ref. [GH #18669].Don't warn about jumping into a construct if we're DIE-ing [GH #23922]
Acknowledgements
Perl 5.43.5 represents approximately 4 weeks of development since Perl 5.43.4 and contains approximately 11,000 lines of changes across 370 files from 18 authors.
Excluding auto-generated files, documentation and release tools, there were approximately 5,500 lines of changes to 310 .pm, .t, .c and .h files.
Perl continues to flourish into its fourth decade thanks to a vibrant community of users and developers. The following people are known to have contributed the improvements that became Perl 5.43.5:
Branislav Zahradník, Chad Granum, David Mitchell, Elvin Aslanov, Eric Herman, Graham Knop, Harald Jörg, James E Keenan, Karl Williamson, Matthew Horsfall, Paul Evans, Paul Marquess, Philippe Bruhat (BooK), Samuel Smith, Samuel Young, Thibault Duponchelle, Tony Cook, Yitzchak Scott-Thoennes.
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.
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 perl bug database at https://github.com/Perl/perl5/issues. There may also be information at https://www.perl.org/, the Perl Home Page.
If you believe you have an unreported bug, please open an issue at https://github.com/Perl/perl5/issues. Be sure to trim your bug down to a tiny but sufficient test case.
If the bug you are reporting has security implications which make it inappropriate to send to a public issue tracker, then see "SECURITY VULNERABILITY CONTACT INFORMATION" in perlsec for details of how to report the issue.
Give Thanks
If you wish to thank the Perl 5 Porters for the work we had done in Perl 5, you can do so by running the perlthanks program:
perlthanks
This will send an email to the Perl 5 Porters list with your show of thanks.
SEE ALSO
The Changes file for an explanation of how to view 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.