You are viewing the version of this documentation from Perl 5.41.10. This is a development version of Perl.

CONTENTS

NAME

perldelta - what is new for perl v5.41.10

DESCRIPTION

This document describes differences between the 5.41.9 release and the 5.41.10 release.

If you are upgrading from an earlier release such as 5.41.8, first read perl5419delta, which describes differences between 5.41.8 and 5.41.9.

Core Enhancements

Renamed any and all features to keyword_any and keyword_all

Perl release 5.41.7 introduced two new experimental features, called any and all, which enable keywords of the same names. Those keywords provide list-processing operators inspired by the ones from List::Util of the same name. It was subsequently considered that the names of these two features are confusingly close to the ability of the feature module to refer to all of its features by using the :all export tag. [GH #23104]

As a consequence, these feature flags have now been renamed to keyword_any and keyword_all to avoid this confusion. Likewise, the related experimental warning flags are also renamed to experimental::keyword_any and experimental::keyword_all. Apart from these new flag names, the actual syntax and semantics of these two operators remain unchanged since their appearance in Perl release 5.41.7.

use v5.40;
use feature 'keyword_all';
no warnings 'experimental::keyword_all';

my @numbers = ...

if(all { $_ % 2 == 0 } @numbers) {
    say "All the numbers are even";
}

New SvVSTRING API macro

A new API macro has been added, which is used to obtain the second string buffer out of a "vstring" SV, in a manner similar to the SvPV macro which obtains the regular string buffer out of a regular SV.

STRLEN len;
const char *vstr_pv = SvVSTRING(sv, vstr_len);

See "SvVSTRING" in perlapi.

Performance Enhancements

Modules and Pragmata

Updated Modules and Pragmata

Documentation

Changes to Existing Documentation

We have attempted to update the documentation to reflect the changes listed in this document. If you find any we have missed, open an issue at https://github.com/Perl/perl5/issues.

Additionally, the following selected changes have been made:

perldata

Diagnostics

The following additions or changes have been made to diagnostic output, including warnings and fatal error messages. For the complete list of diagnostic messages, see perldiag.

Changes to Existing Diagnostics

Testing

Tests were added and changed to reflect the other additions and changes in this release.

Internal Changes

Selected Bug Fixes

Obituary

Andrew Main (ZEFRAM) passed away on March 10, 2025.

Zefram was a brilliant person, seemingly knowledgeable in everything and happy to impart his knowledge and share his striking insights with a gentle, technical demeanor that often failed to convey the genuine care with which he communicated.

It would be impossible to overstate the impact that Zefram has had on both the language and culture of Perl over the years. From his countless contributions to the code-base, to his often quirky but always distinctive appearances at conferences and gatherings, his influence and memory are sure to endure long into the future.

Zefram wished to have no designated memorial location in meatspace. His designated memorial location in cyberspace is http://www.fysh.org/~zefram/personal/.

Acknowledgements

Perl 5.41.10 represents approximately 4 weeks of development since Perl 5.41.9 and contains approximately 19,000 lines of changes across 340 files from 14 authors.

Excluding auto-generated files, documentation and release tools, there were approximately 16,000 lines of changes to 270 .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.41.10:

brian d foy, Chris 'BinGOs' Williams, Dagfinn Ilmari Mannsåker, Daniel Dragan, David Mitchell, Graham Knop, Karl Williamson, Leon Timmermans, Lukas Mai, Paul Evans, Philippe Bruhat (BooK), Richard Leach, Tony Cook, Yves Orton.

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.