You are viewing the version of this documentation from Perl 5.22.0. View the latest version

CONTENTS

NAME

perl5214delta - what is new for perl v5.21.4

DESCRIPTION

This document describes differences between the 5.21.3 release and the 5.21.4 release.

If you are upgrading from an earlier release such as 5.21.2, first read perl5213delta, which describes differences between 5.21.2 and 5.21.3.

Core Enhancements

Infinity and NaN (not-a-number) handling improved

Floating point values are able to hold the special values infinity (also -infinity), and NaN (not-a-number). Now we more robustly recognize and propagate the value in computations, and on output normalize them to Inf and NaN.

See also the POSIX enhancements.

Security

Perl is now compiled with -fstack-protector-strong if available

Perl has been compiled with the anti-stack-smashing option -fstack-protector since 5.10.1. Now Perl uses the newer variant called -fstack-protector-strong, if available.

Incompatible Changes

Changes to the * prototype

The * character in a subroutine's prototype used to allow barewords to take precedence over most, but not all subroutines. It was never consistent and exhibited buggy behaviour.

Now it has been changed, so subroutines always take precedence over barewords, which brings it into conformity with similarly prototyped built-in functions:

sub splat(*) { ... }
sub foo { ... }
splat(foo); # now always splat(foo())
splat(bar); # still splat('bar') as before
close(foo); # close(foo())
close(bar); # close('bar')

Performance Enhancements

Modules and Pragmata

New Modules and Pragmata

Updated Modules and Pragmata

Documentation

Changes to Existing Documentation

perlfunc

perlpolicy

perlrecharclass

perlsyn

perlxs

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

New Warnings

Changes to Existing Diagnostics

Diagnostic Removals

Configuration and Compilation

Testing

Internal Changes

Selected Bug Fixes

Acknowledgements

Perl 5.21.4 represents approximately 4 weeks of development since Perl 5.21.3 and contains approximately 29,000 lines of changes across 520 files from 30 authors.

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

Alberto Simões, Alexandre (Midnite) Jousset, Andy Dougherty, Anthony Heading, Brian Fraser, Chris 'BinGOs' Williams, Craig A. Berry, Daniel Dragan, David Mitchell, Doug Bell, Father Chrysostomos, George Greer, H.Merijn Brand, James E Keenan, Jarkko Hietaniemi, Jerry D. Hedden, Karen Etheridge, Karl Williamson, Olivier Mengué, Peter Martini, Reini Urban, Ricardo Signes, Steffen Müller, Steve Hay, Sullivan Beck, syber, Tadeusz Sośnierz, Tony Cook, Yves Orton, Ævar Arnfjörð Bjarmason.

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 articles recently posted to the comp.lang.perl.misc newsgroup and 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 please send it to perl5-security-report@perl.org. This points to a closed subscription unarchived mailing list, which includes all the core committers, who will be able to help assess the impact of issues, figure out a resolution, and help co-ordinate the release of patches to mitigate or fix the problem across all platforms on which Perl is supported. Please only use this address for security issues in the Perl core, not for modules independently distributed on CPAN.

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.