=encoding utf8 =head1 NAME perldelta - what is new for perl v5.33.1 =head1 DESCRIPTION This document describes differences between the 5.33.0 release and the 5.33.1 release. If you are upgrading from an earlier release such as 5.32.0, first read L, which describes differences between 5.32.0 and 5.33.0. =head1 Modules and Pragmata =head2 New Modules and Pragmata =over 4 =item * L 0.002 has been added to the Perl core. This module is a generalization of the C script. It being a script has led to at least two forks of this code, this modules will unify them under one implementation with tests. =back =head2 Updated Modules and Pragmata =over 4 =item * L has been upgraded from version 1.80 to 1.81. =item * L has been upgraded from version 1.54 to 1.55. =item * L has been upgraded from version 2.174 to 2.175. =item * L has been upgraded from version 1.28 to 1.29. =item * L has been upgraded from version 3.57 to 3.60. New C comparison macros are now available. C no longer includes non-API info unless that is the only match =item * L has been upgraded from version 1.47 to 1.48. =item * L has been upgraded from version 1.30 to 1.31. =item * L has been upgraded from version 5.74 to 5.75. =item * L has been upgraded from version 1.09 to 1.10. =item * L has been upgraded from version 3.40 to 3.41. =item * L has been upgraded from version 1.13 to 1.14. =item * L has been upgraded from version 1.59 to 1.60. A new L feature has been added, which is enabled by default but allows turning off L. =item * L has been upgraded from version 2.16 to 2.17. =item * L has been upgraded from version 0.23 to 0.24. =item * L has been upgraded from version 1.20 to 1.21. =item * L has been upgraded from version 1.43 to 1.44. The C method now reports the error state for both the input and output streams for sockets and character devices. Similarly C now clears the error state for both streams. A spurious error reported for regular file handles has been fixed in L. L =item * L has been upgraded from version 2.07 to 2.08. =item * L has been upgraded from version 4.04 to 4.05. =item * L has been upgraded from version 1.5901 to 1.5902. =item * L has been upgraded from version 5.20200717 to 5.20200820. =item * L has been upgraded from version 1.23 to 1.24. =item * L has been upgraded from version 2.72 to 2.73_01. =item * L has been upgraded from version 0.016 to 0.017. =item * L has been upgraded from version 1.69 to 1.70. =item * L has been upgraded from version 1.94 to 1.95. =item * L has been upgraded from version 2.41 to 2.42. =item * L has been upgraded from version 2.029 to 2.030. =item * L has been upgraded from version 3.21 to 3.22. =item * L has been upgraded from version 1.11 to 1.12. =item * L has been upgraded from version 2.25 to 2.26. =item * L has been upgraded from version 1.61 to 1.62. =item * L has been upgraded from version 1.9764 to 1.9765. =item * L has been upgraded from version 1.27 to 1.28. =item * L has been upgraded from version 1.47 to 1.48. =item * L has been upgraded from version 1.09 to 1.11. =item * L has been upgraded from version 0.17 to 0.18. =back =head1 Documentation =head2 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 L. Additionally, the following selected changes have been made: =head3 L =over 4 =item * Corrected the description of the scalar C<< ${"_<$filename"} >> variables. =back =head3 L =over 4 =item * Better explanation of what happens when C is called with a zero or negative value. =back =head3 L =over 4 =item * Corrected C example in perlguts. =item * A section has been added on the formatted printing of special sizes. =back =head3 L =over 4 =item * The C<< <> >> and C<<< <<>> >>> operators are commonly referred to as the diamond and double diamond operators respectively, but that wasn't mentioned previously in their documentation. =item * Document range op behavior change. =back =head3 L =over 4 =item * Incorrect variables used in an example have been fixed. =back =head1 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 L. =head2 New Diagnostics =head3 New Errors =over 4 =item * L This accompanies the new L feature. =back =head2 Changes to Existing Diagnostics =over 4 =item * L This warning may now include the array or hash index when the uninitialized value is the result of an element not found. This will only happen if the index is a simple non-magical variable. =back =head1 Utility Changes =head2 L (the debugger) =over 4 =item * New option: C This option controls the minimum length a command must be to get stored in history. Traditionally, this has been fixed at 2. Changes to the debugger are often perilous, and new bugs should be reported so the debugger can be debugged. =item * Fix to C and C commands The C and C commands work again with lexical variables. =back =head1 Configuration and Compilation =over 4 =item * The minimum supported Bison version is now 2.4, and the maxiumm is 3.7. =item * Newer 64-bit versions of the Intel C/C++ compiler are now recognised and have the correct flags set. =back =head1 Testing Tests were added and changed to reflect the other additions and changes in this release. =head1 Platform Support =head2 New Platforms =over 4 =item 9front Allow building Perl on i386 9front systems (fork of plan9). =back =head2 Updated Platforms =over 4 =item Plan9 Improve support for Plan9 on i386 platforms. =item MacOS (Darwin) The hints file for darwin has been updated to handle future MacOS versions beyond 10. L =back =head2 Discontinued Platforms =over 4 =item Symbian Support code relating to Symbian has been removed. Symbian was an operating system for mobile devices. The port was last updated in July 2009, and the platform itself in October 2012. =back =head2 Platform-Specific Notes =over 4 =item z/OS The locale categories C and C are now recognized. Perl doesn't do anything with these, except it now allows you to specify them. They are included in C. =back =head1 Internal Changes =over 4 =item * The C compilation option has been removed, and with it the need or the C macro. C remains defined as a no-op outside C for backwards compatiblity with XS modules. =item * A new savestack type C has been added, which neatens the previous behaviour of C. On previous versions the types and values pushed to the save stack would depend on whether the hints included the C bit, which complicates external code that inspects the save stack. The new version uses a different savestack type to indicate the difference. =item * A new API function L has been added which gives a clearly named way to find how many elements are in an array. =back =head1 Selected Bug Fixes =over 4 =item * On Win32, C could sometimes have a very large timeout. L =item * C and hence C are now correctly initialized in BOOT XSUBs. =item * Some list assignments involving C on the left-hand side were over-optimized and produced incorrect results. L, L =back =head1 Acknowledgements Perl 5.33.1 represents approximately 5 weeks of development since Perl 5.33.0 and contains approximately 37,000 lines of changes across 740 files from 34 authors. Excluding auto-generated files, documentation and release tools, there were approximately 11,000 lines of changes to 290 .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.33.1: Adam Hartley, Christian Walde (Mithaldu), Dagfinn Ilmari Mannsåker, Dan Book, David Mitchell, E. Choroba, Graham Knop, Graham Ollis, Hauke D, Ivan Baidakou, James E Keenan, John Lightsey, Karen Etheridge, Karl Williamson, Leon Timmermans, Nicolas R., Paul Evans, Petr Písař, raiph, Renee Baecker, Ricardo Signes, Richard Leach, Romano, Ryan Voots, Samuel Thibault, Sawyer X, Scott Baker, Sizhe Zhao, Thibault Duponchelle, Todd Rinaldo, Tomasz Konojacki, Tom Stellard, Tony Cook, vividsnow. 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 F file in the Perl source distribution. =head1 Reporting Bugs If you find what you think is a bug, you might check the perl bug database at L. There may also be information at L, the Perl Home Page. If you believe you have an unreported bug, please open an issue at L. 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 L for details of how to report the issue. =head1 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 C program: perlthanks This will send an email to the Perl 5 Porters list with your show of thanks. =head1 SEE ALSO The F file for an explanation of how to view exhaustive details on what changed. The F file for how to build Perl. The F file for general stuff. The F and F files for copyright information. =cut