You are viewing the version of this documentation from Perl blead. This is a development version of Perl.

CONTENTS

NAME

perl5412delta - what is new for perl v5.41.2

DESCRIPTION

This document describes differences between the 5.41.1 release and the 5.41.2 release.

If you are upgrading from an earlier release such as 5.41.0, first read perl5411delta, which describes differences between 5.41.0 and 5.41.1.

Core Enhancements

New pragma source::encoding

This allows you to declare that the portion of a program for the remainder of the lexical scope of this pragma is encoded either entirely in ASCII (for use source::encoding 'ascii') or if UTF-8 is allowed as well (for use source::encoding 'utf8'). No other encodings are accepted. The second form is entirely equivalent to use utf8, and may be used interchangeably with that.

The purpose of this pragma is to catch cases early where you forgot to specify use utf8.

use source::encoding 'ascii' is automatically enabled within the lexical scope of a use v5.41.0 or higher.

no source::encoding turns off all this checking for the remainder of its lexical scope. The meaning of non-ASCII characters is then undefined.

Modules and Pragmata

Updated Modules and Pragmata

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.

Additionally, the following selected changes have been made:

perlapi

perlgov

perlvar

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 Errors

New Warnings

Utility Changes

Porting/test-dist-modules.pl

Testing

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

Internal Changes

Selected Bug Fixes

Acknowledgements

Perl 5.41.2 represents approximately 3 weeks of development since Perl 5.41.1 and contains approximately 4,100 lines of changes across 180 files from 13 authors.

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

Aaron Dill, Dagfinn Ilmari Mannsåker, Elvin Aslanov, Erik Huelsmann, Graham Knop, H.Merijn Brand, James E Keenan, Karen Etheridge, Karl Williamson, Lukas Mai, Philippe Bruhat (BooK), Russ Allbery, 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 https://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.