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

NAME

perl5314delta - what is new for perl v5.31.4

DESCRIPTION

This document describes differences between the 5.31.3 release and the 5.31.4 release.

If you are upgrading from an earlier release such as 5.31.2, first read perl5313delta, which describes differences between 5.31.2 and 5.31.3.

Notice

None

Core Enhancements

Now can dump compiled patterns before optimization

This is primarily useful for tracking down bugs in the regular expression compiler. This dump happens on -DDEBUGGING perls, if you specify -Drv on the command line; or on any perl if the pattern is compiled within the scope of use re qw(Debug DUMP_PRE_OPTIMIZE) or use re qw(Debug COMPILE EXTRA). (All but the 2nd case display other information as well.)

Incompatible Changes

    There are no changes intentionally incompatible with 5.31.3
    If any exist, they are bugs, and we request that you submit a
    report.  See L</Reporting Bugs> below.

Deprecations

Module removals

None

Performance Enhancements

None

Modules and Pragmata

New Modules and Pragmata

None

Updated Modules and Pragmata

Removed Modules and Pragmata

None

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, send email to perlbug@perl.org.

Additionally, the following selected changes have been made:

perlapi, perlintern

  • Documentation has been added for a dozen or two functions that were lacking it before.

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 Diagnostics

None

Configuration and Compilation

  • Improvements in Configure to detection in C++ and clang++. Work ongoing by Andy Dougherty. [perl #134171]

Testing

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

Platform Support

Platform-Specific Notes

Win32

The locale tests could crash on Win32 due to a Windows bug, and separately due to the CRT throwing an exception if the locale name wasn't validly encoded in the current code page.

For the second we now decode the locale name ourselves, and always decode it as UTF-8. [perl #133981]

Internal Changes

  • XXX

Selected Bug Fixes

  • Perl no longer treats strings starting with "0x" or "0b" as hex or binary numbers respectively when converting a string to a number. This reverts a change in behaviour inadvertently introduced in perl 5.30.0 intended to improve precision when converting a string to a floating point number. [perl #134230]

  • Matching a non-SVf_UTF8 string against a regular expression containing unicode literals could leak a SV on each match attempt. [perl #134390]

  • Overloads for octal and binary floating point literals were always passed a string with a 0x prefix instead of the appropriate 0 or 0b prefix. [perl #125557]

Known Problems

None

Acknowledgements

Perl 5.31.4 represents approximately 4 weeks of development since Perl 5.31.3 and contains approximately 6,700 lines of changes across 260 files from 18 authors.

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

Chad Granum, Chris 'BinGOs' Williams, Craig A. Berry, Dan Book, David Mitchell, Florian Weimer, Hauke D, H.Merijn Brand, James E Keenan, Kang-min Liu, Karl Williamson, Max Maischein, Pali, Sisyphus, Tomasz Konojacki, Tom Hukins, Tony Cook, VanL.

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://rt.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.

If the bug you are reporting has security implications which make it inappropriate to send to a publicly archived mailing list, 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.