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

NAME

perl5352delta - what is new for perl v5.35.2

DESCRIPTION

This document describes differences between the 5.35.1 release and the 5.35.2 release.

If you are upgrading from an earlier release such as 5.35.0, first read perl5351delta, which describes differences between 5.35.0 and 5.35.1.

Modules and Pragmata

Updated Modules and Pragmata

  • B::Concise has been upgraded from version 1.004 to 1.005.

  • bignum has been upgraded from version 0.51 to 0.53.

  • Data::Dumper has been upgraded from version 2.181 to 2.183.

  • DB_File has been upgraded from version 1.855 to 1.856.

  • Devel::Peek has been upgraded from version 1.30 to 1.31.

  • Devel::PPPort has been upgraded from version 3.62 to 3.63.

  • DynaLoader has been upgraded from version 1.50 to 1.51.

  • Encode has been upgraded from version 3.08 to 3.10.

  • Errno has been upgraded from version 1.33 to 1.34.

  • ExtUtils::Miniperl has been upgraded from version 1.10 to 1.11.

  • Fcntl has been upgraded from version 1.14 to 1.15.

  • File::Find has been upgraded from version 1.39 to 1.39_01.

  • File::Glob has been upgraded from version 1.35 to 1.36.

  • File::Spec has been upgraded from version 3.81 to 3.82.

  • File::stat has been upgraded from version 1.10 to 1.11.

  • GDBM_File has been upgraded from version 1.19 to 1.20.

  • Hash::Util has been upgraded from version 0.25 to 0.26.

  • Hash::Util::FieldHash has been upgraded from version 1.21 to 1.22.

  • I18N::Langinfo has been upgraded from version 0.19 to 0.20.

  • if has been upgraded from version 0.0609 to 0.0610.

  • IPC::Open3 has been upgraded from version 1.21 to 1.22.

  • Math::BigInt has been upgraded from version 1.999818 to 1.999823.

    Made the from_*() functions consistent with the core oct() function, in not requiring a leading 0 before the letter ("x", "o", or "b").

    Made the from_oct() and new() methods accept octal numbers with prefix "0o", "0O", "o" (lowercase letter o), and "O" (capital letter O). Similarly with "x" and "b" for hexadecimal and binary numbers.

    Improved the handling of the backend libraries. More useful warnings and error messages.

  • Math::BigInt::FastCalc has been upgraded from version 0.5009 to 0.5010.

    Made it possible to specify a smaller base length than the default.

    Updated the SUPPORT information.

    Sync'd test files with Math::BigInt.

  • Math::BigRat has been upgraded from version 0.2614 to 0.2617.

    bnok() was fixed - it didn't work at all.

    The handling of backend libraries was improved.

    Existing test files were reorganised and more tests added.

  • Module::CoreList has been upgraded from version 5.20210620 to 5.20210723.

  • Opcode has been upgraded from version 1.51 to 1.52.

  • perl5db.pl has been upgraded from version 1.60 to 1.61.

    The v command works again, and now has some tests.

  • PerlIO has been upgraded from version 1.11 to 1.12.

  • Pod::Functions has been upgraded from version 1.13 to 1.14.

  • Pod::Html has been upgraded from version 1.27 to 1.31.

  • Pod::Simple has been upgraded from version 3.42 to 3.43.

  • Sys::Hostname has been upgraded from version 1.23 to 1.24.

  • Text::Tabs has been upgraded from version 2013.0523 to 2021.0717.

    Explicitly declared strictures and warnings everywhere.

  • Text::Wrap has been upgraded from version 2013.0523 to 2021.0717.

    Explicitly declared strictures and warnings everywhere.

  • threads has been upgraded from version 2.26 to 2.27.

  • Time::HiRes has been upgraded from version 1.9767 to 1.9768.

  • Unicode::UCD has been upgraded from version 0.76 to 0.77.

  • VMS::Filespec has been upgraded from version 1.12 to 1.13.

  • VMS::Stdio has been upgraded from version 2.45 to 2.46.

  • warnings has been upgraded from version 1.51 to 1.52.

  • XSLoader has been upgraded from version 0.30 to 0.31.

Documentation

Changes to Existing Documentation

perlintro

  • A number of sentences in perlintro have been simplified, to make things clearer. Ambiguities were resolved, related to "special variables".

Platform Support

The :win32 IO layer has been removed. This experimental replacement for the :unix layer never reached maturity in its nearly two decades of existence.

Internal Changes

  • The API constant formerly named G_ARRAY, indicating list context, has now been renamed to a more accurate G_LIST. A compatibilty macro G_ARRAY has been added to allow existing code to work unaffected. New code should be written using the new constant instead. This is supported by Devel::PPPort version 3.63.

Selected Bug Fixes

  • The flags on the OPTVAL parameter to setsockopt() were previously checked before magic was called, possibly treating a numeric value as a packed buffer or vice versa. It also ignored the UTF-8 flag, potentially treating the internal representation of an upgraded SV as the bytes to supply to the setsockopt() system call. (github #18660)

  • Only set IOKp, not IOK on $) and $(. This was issue #18955: This will prevent serializers from serializing these variables as numbers (which loses the additional groups). This restores behaviour from 5.16

Acknowledgements

Perl 5.35.2 represents approximately 5 weeks of development since Perl 5.35.1 and contains approximately 27,000 lines of changes across 420 files from 25 authors.

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

Atsushi Sugawara, Ben Cornett, Chris 'BinGOs' Williams, Christian Walde (Mithaldu), Craig A. Berry, David Golden, David Marshall, Felipe Gasper, Jakub Wilk, James E Keenan, Karl Williamson, Leam Hall, Leon Timmermans, Max Maischein, Neil Bowers, Nicholas Clark, Paul Evans, Paul Marquess, Richard Leach, Sawyer X, Sergey Poznyakoff, Sven Kirmess, Thibault Duponchelle, Todd Rinaldo, 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 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.