The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

perldelta - what is new for perl v5.37.8

DESCRIPTION

This document describes differences between the 5.37.7 release and the 5.37.8 release.

If you are upgrading from an earlier release such as 5.37.6, first read perl5377delta, which describes differences between 5.37.6 and 5.37.7.

Core Enhancements

Optimistic Eval in Patterns

The use of (?{ ... }) and (??{ ... }) in a pattern disables various optimisations globally in that pattern. This may or may not be desired by the programmer. This release adds the (*{ ... }) and (**{ ... }) equivalents. The only difference is that they do not and will never disable any optimisations in the regex engine. This may make them more unstable in the sense that they may be called more or less times in the future, however the number of times they execute will truly match how the regex engine functions. For example, certain types of optimisation are disabled when (?{ ... }) is included in a pattern, so that patterns which are O(N) in normal use become O(N*N) with a (?{ ... }) pattern in them. Switching to (*{ ... }) means the pattern will stay O(N).

Modules and Pragmata

Updated Modules and Pragmata

  • Config::Perl::V has been upgraded from version 0.34 to 0.35.

  • ExtUtils::Install has been upgraded from version 2.20 to 2.22.

  • ExtUtils::MakeMaker has been upgraded from version 7.64 to 7.66.

  • feature has been upgraded from version 1.78 to 1.79.

  • File::Find has been upgraded from version 1.41 to 1.42.

  • IO::Zlib has been upgraded from version 1.11 to 1.14.

  • JSON::PP has been upgraded from version 4.12 to 4.16.

  • Math::Complex has been upgraded from version 1.5903 to 1.6.

    Modules in the Math-Complex distribution have been uniformly upgraded to version 1.60. Math::Complex has been upgraded from version 1.59_03 (with no other code changes).

  • Math::Trig has been upgraded from version 1.23_01 with documentation improvements and code improvements in the calculation of great_circle_distance().

  • Module::CoreList has been upgraded from version 5.20221220 to 5.20230120.

  • podlators has been upgraded from version 5.00 to 5.01.

  • POSIX has been upgraded from version 2.10 to 2.11.

  • re has been upgraded from version 0.43 to 0.44.

  • Storable has been upgraded from version 3.28 to 3.29.

  • threads has been upgraded from version 2.33 to 2.34.

  • XS::APItest has been upgraded from version 1.28 to 1.30.

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.

Platform Support

Platform-Specific Notes

Windows
  • lstat() on Windows now returns the length of the link target as the size of the file, as it does on POSIX systems. [github #20476]

  • symlink() on Windows now replaces any / in the target with \, since Windows does not recognise / in symbolic links. The reverse translation is not done by readlink(). [github #20506]

  • symlink() where the target was an absolute path to a directory was incorrectly created as a file symbolic link. [github #20533]

Internal Changes

  • Added HvNAMEf and HvNAMEf_QUOTEDPREFIX special formats. They take an HV * as an argument and use HvNAME() and related macros to determine the string, its length, and whether it is utf8.

Acknowledgements

Perl 5.37.8 represents approximately 4 weeks of development since Perl 5.37.7 and contains approximately 42,000 lines of changes across 350 files from 25 authors.

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

Andrew Ruthven, Andy Lester, Benjamin Smith, Bram, Chris 'BinGOs' Williams, Dagfinn Ilmari Mannsåker, David Cantrell, David Mitchell, Elvin Aslanov, Ferenc Erki, Florian Weimer, James E Keenan, Karen Etheridge, Karl Williamson, Li Linjie, Max Maischein, Nicolas R, Paul Evans, Peter John Acklam, Peter Levine, Renee Baecker, Richard Leach, Tomasz Konojacki, 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 http://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.