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

CONTENTS

NAME

perldelta - what is new for perl v5.41.3

DESCRIPTION

This document describes differences between the 5.41.2 release and the 5.41.3 release.

If you are upgrading from an earlier release such as 5.41.1, first read perl5412delta, which describes differences between 5.41.1 and 5.41.2.

Incompatible Changes

Apostrophe is no longer recognized as a global name separator

The apostrophe ' has been recognized as a separator between components of package names and package variables since Perl 3, acting exactly like ::, which was introduced in Perl 5.

Use of ' as a package separator was deprecated in Perl 5.38 and has now been removed.

[GH #22303]

Switch and Smart Match operator removed

The "switch" feature and the smartmatch operator, ~~, were introduced in v5.10. Their behavior was significantly changed in v5.10.1. When the "experiment" system was added in v5.18.0, switch and smartmatch were retroactively declared experimental. Over the years, proposals to fix or supplement the features have come and gone.

They were deprecated in Perl v5.38.0 and scheduled for removal in Perl 5.42.0

These features have now been entirely removed.

If you code currently uses given/when or smart match this can be replaced with an if/else chain, or there are several alternative "switch" or smart match implementations on CPAN.

In no particular order:

[GH #22370]

Performance Enhancements

Modules and Pragmata

Updated Modules and Pragmata

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.

New Warnings

Changes to Existing Diagnostics

Testing

Tests were added and changed to reflect the other additions and changes in this release. Furthermore, these significant changes were made:

Internal Changes

Selected Bug Fixes

Obituary

Abe Timmerman (ABELTJE) passed away on August 15, 2024. Since 2002, Abe built and maintained the Test::Smoke project: "a set of scripts and modules that try to run the Perl core tests on as many configurations as possible and combine the results into an easy to read report". Smoking Perl on as many platforms and configurations as possible has been instrumental in finding bugs and developing patches for those bugs.

Abe was a regular attendee of the Perl Toolchain Summit (née Perl QA Hackathon), the Dutch Perl Workshop and the Amsterdam.pm user group meetings. With his kindness, his smile and his laugh, he helped make Perl and its community better.

Abeltje's memorial card said "Grab every opportunity to have a drink of bubbly. This is an opportunity". We'll miss you Abe, and we'll have a drink of bubbly in your honor.

Acknowledgements

Perl 5.41.3 represents approximately 6 weeks of development since Perl 5.41.2 and contains approximately 34,000 lines of changes across 740 files from 23 authors.

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

Branislav Zahradník, Chad Granum, Craig A. Berry, Dan Jacobson, David Mitchell, E. Choroba, Eric Herman, Graham Knop, iabyn, James E Keenan, Karen Etheridge, Karl Williamson, Leon Timmermans, Lukas Mai, Max Maischein, Paul Evans, Paul Marquess, Philippe Bruhat (BooK), Sisyphus, Štěpán Němec, Steve Hay, TAKAI Kousuke, Thibault Duponchelle, Tony Cook.

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.