NAME

perldelta - what is new for perl v5.27.10

DESCRIPTION

This document describes differences between the 5.27.9 release and the 5.27.10 release.

If you are upgrading from an earlier release such as 5.27.8, first read perl5279delta, which describes differences between 5.27.8 and 5.27.9.

Modules and Pragmata

Updated Modules and Pragmata

  • attributes has been upgraded from version 0.32 to 0.33

  • B::Deparse has been upgraded from version 1.47 to 1.48.

  • Carp has been upgraded from version 1.46 to 1.49.

    Carp, when generating stack traces, now attempts to work around longstanding bugs resulting from Perl's non-reference-counted stack. [perl #52610]

    Carp has been modified to avoid assuming that objects cannot be overloaded without the overload module loaded (this can happen with objects created by XS modules). Previously, infinite recursion would result if an XS-defined overload method itself called Carp. [perl #132828]

    Carp now avoids using overload::StrVal, partly because older versions of overload (included with perl 5.14 and earlier) load Scalar::Util at run time, which will fail if Carp has been invoked after a syntax error.

    I18N::Langinfo has been upgraded from version 0.15 to 0.16.

    This module is now available on all platforms, emulating the system nl_langinfo(3) on systems that lack it. Some caveats apply, as detailed in its documentation, the most severe being that, except for MS Windows, the CODESET item is not implemented on those systems, always returning "".

    It now sets the UTF-8 flag in its returned scalar if the string contains legal non-ASCII UTF-8, and the locale is UTF-8 ([perl #127288].

  • Encode has been upgraded from version 2.96 to 2.97.

  • ExtUtils::MakeMaker has been upgraded from version 7.32 to 7.34.

  • ExtUtils::ParseXS has been upgraded from version 3.38 to 3.39

  • File::Glob has been upgraded from version 1.30 to 1.31.

  • I18N::Langinfo has been upgraded from version 0.15 to 0.16.

  • Locale::Codes has been upgraded from version 3.55 to 3.56.

  • Module::CoreList has been upgraded from version 5.20180220 to 5.20180221.

  • POSIX has been upgraded from version 1.82 to 1.83.

  • Scalar::Util has been upgraded from version 1.49 to 1.50.

  • Test::Harness has been upgraded from version 3.39 to 3.42.

  • Test::Simple has been upgraded from version 1.302122 to 1.302133.

  • Time::HiRes has been upgraded from version 1.9753 to 1.9757.

  • Time::Piece has been upgraded from version 1.3203 to 1.3204.

  • warnings has been upgraded from version 1.41 to 1.42.

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

Additionally, the following selected changes have been made:

perlfunc

  • Clarification to require was added to show that

    require "Foo/Bar.pm";

    is equivalent to:

    eval "require Foo::Bar";

perlguts

  • Improve documentation related to UTF-8 multibytes.

perlrequick

  • Clarifications on metacharacters and character classes

perlretut

  • Clarify metacharacters.

Diagnostics

Changes to Existing Diagnostics

Configuration and Compilation

  • lib/unicore/mktables now correctly canonicalizes the names of the dependencies stored in the files it generates.

    regen/mk_invlists.pl, unlike the other regen/*.pl scripts, used $0 to name itself in the dependencies stored in the files it generates. It now uses a literal so that the path stored in the generated files doesn't depend on how regen/mk_invlists.pl is invoked.

    This lack of canonical names could cause test failures in t/porting/regen.t. [perl #132925]

Testing

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

Internal Changes

  • The item names passed to the function "Perl_langinfo" in perlapi, introduced in 5.27.4, may no longer be prefixed with PERL_. For example, if you want the current floating point radix character, you must call it like Perl_langinfo(RADIXCHAR).

Selected Bug Fixes

  • Blead Breaks CPAN: FELIPE/Crypt-Perl [perl #132900]

  • Prevent duplicate Config.pm vars [perl #132834]

  • Regex assertion failure [perl #132163]

  • fix line numbers in multi-line s///

  • add an empty file (to be removed next commit)

  • warnings.pm: sprintf is faster than concat

Acknowledgements

Perl 5.27.10 represents approximately 4 weeks of development since Perl 5.27.9 and contains approximately 80,000 lines of changes across 380 files from 18 authors.

Excluding auto-generated files, documentation and release tools, there were approximately 75,000 lines of changes to 270 .pm, .t, .c and .h files.

Perl continues to flourish into its third decade thanks to a vibrant community of users and developers. The following people are known to have contributed the improvements that became Perl 5.27.10:

Aaron Crane, Chris 'BinGOs' Williams, Craig A. Berry, Daniel Dragan, David Mitchell, Father Chrysostomos, H.Merijn Brand, James E Keenan, Karl Williamson, Pali, Renee Baecker, Sawyer X, Shoichi Kaji, Steve Hay, Todd Rinaldo, Tony Cook, Yves Orton, Zefram.

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.