=encoding utf8 =head1 NAME perldelta - what is new for perl v5.41.6 =head1 DESCRIPTION This document describes differences between the 5.41.5 release and the 5.41.6 release. If you are upgrading from an earlier release such as 5.41.4, first read L, which describes differences between 5.41.4 and 5.41.5. =head1 Performance Enhancements =over 4 =item * Code that uses the C function from the L module to generate a list of index/value pairs out of array which is then passed into a two-variable C list to unpack those again is now optimised to be more efficient. my @array = (...); foreach my ($idx, $val) (builtin::indexed @array) { ... } In particular, a temporary list twice the size of the original array is no longer generated. Instead, the list iterates down the array in-place directly, in the same way that C would do. =back =head1 Modules and Pragmata =head2 Updated Modules and Pragmata =over 4 =item * L has been upgraded from version 1.78 to 1.80. It now retains parens around logical negations on the left-hand side of comparisons (such as C<(!$x) == $y>) because omitting them would trigger a C warning since perl v5.41.4. [L] =item * L has been upgraded from version 0.015 to 0.016. =item * L has been upgraded from version 2.37 to 2.38. =item * L has been upgraded from version 1.08 to 1.09. =item * L has been upgraded from version 3.55 to 3.56. =item * L has been upgraded from version 3.55 to 3.56. =item * L has been upgraded from version 1.91 to 1.92. =item * L has been upgraded from version 2.25 to 2.26. =item * L has been upgraded from version 0.088 to 0.090. =item * L has been upgraded from version 1.23 to 1.24. L has been upgraded from version 1.07 to 1.08. There is now a way to pass lexical filehandles to child processes directly (instead of having the module create a pipe internally). Previously, only bareword filehandles could be used in "dup mode". =item * L has been upgraded from version 1.62 to 1.63. The complex number parser for string inputs has been improved. In particular, C<1+i>, C<123i>, C, C<-inf>, C, and C<-infi> are now handled correctly. =item * L has been upgraded from version 1.16 to 1.17. =item * L has been upgraded from version 5.20241020 to 5.20241120. =item * L has been upgraded from version 1.17 to 1.18. =item * L has been upgraded from version 1.18 to 1.19. =item * L has been upgraded from version 0.242 to 0.242_001. =item * L has been upgraded from version 2.22 to 2.23. =item * L has been upgraded from version 1.68 to 1.68_01. =item * L has been upgraded from version 0.022 to 0.023. =item * L has been upgraded from version 1.70 to 1.71. =back =head1 Platform Support =head2 Platform-Specific Notes =over 4 =item arm64 DARWIN Fix arm64 darwin hints when using use64bitall with Configure [L] =item Android Changes to perl_langinfo.h for Android [L] related to [L] =item Cygwin cygwin.c: fix several silly/terrible C errors [L] workaround DLL load address conflict [L] =back =head1 Internal Changes =over 4 =item * Enable removing most of mathoms.c and stub functions [L] and [L] =item * reinstate apostrophe as package separator behind a default enabled feature, which is disabled from feature bundle 5.41. =item * pp_reverse: don't COW buffer just to then un-COW it [L] =back =head1 Selected Bug Fixes =over 4 =item * The perl parser would erroneously parse like C<=cut> some other POD directives whose names start with I, prematurely terminating an embedded POD section. The following cases were affected: I followed by a digit (e.g. C<=cut2studio>), I followed by an underscore (e.g. C<=cut_grass>), and in string C, any identifier starting with I (e.g. C<=cute>). [L] =item * Builds with C<-msse> and quadmath on 32-bit x86 systems would crash with a misaligned access early in the build. [L] =back =head1 Known Problems =over 4 =item * C builds may fail during testing due to a conflict between the load addresses of F and F. This will also be visible for anything that attempts to fork() with C loaded. This is known to fail for builds with options that increase the size of the binary, such as C<-DDEBUGGING>, C<-Doptimize="-O0 -g"> or C<-Doptimize="-O2 -g -march=x86-64-v2">. This can be avoided by building perl with C<-Astatic_ext=I18N/Langinfo>. The base addresses are generated by the linker based on the names of the DLLs, so this is expected to clear up for 5.41.7. [L] =back =head1 Acknowledgements Perl 5.41.6 represents approximately 4 weeks of development since Perl 5.41.5 and contains approximately 8,400 lines of changes across 180 files from 14 authors. Excluding auto-generated files, documentation and release tools, there were approximately 6,700 lines of changes to 120 .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.6: Chad Granum, Chris 'BinGOs' Williams, Daniel Dragan, David Mitchell, Graham Knop, James E Keenan, Karl Williamson, Lukas Mai, Marin Tsanov, Paul Evans, pyrrhlin, Richard Leach, Thibault Duponchelle, 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 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