=encoding utf8 =head1 NAME perldelta - what is new for perl v5.39.10 =head1 DESCRIPTION This document describes differences between the 5.39.9 release and the 5.39.10 release. If you are upgrading from an earlier release such as 5.39.8, first read L, which describes differences between 5.39.8 and 5.39.9. =head1 Core Enhancements =head2 The C<:5.40> feature bundle adds C and C The latest version feature bundle now contains the recently-stablized features C and C. As this feature bundle is used by the C<-E> commandline switch, these are immediately available in C<-E> scripts. =head1 Modules and Pragmata =head2 Updated Modules and Pragmata =over 4 =item * L has been upgraded from version 1.75 to 1.76. =item * L has been upgraded from version 2.210 to 2.212. =item * L has been upgraded from version 2.209 to 2.212. =item * L has been upgraded from version 0.031 to 0.032. =item * L has been upgraded from version 1.86 to 1.88. =item * L has been upgraded from version 2.207 to 2.212. =item * L has been upgraded from version 1.11 to 1.12. =item * L has been upgraded from version 5.20240320 to 5.20240420. =item * L has been upgraded from version 5.01 to 5.01_01. =item * L has been upgraded from version 2.18 to 2.19. =item * L has been upgraded from version 2.037 to 2.038. =item * L has been upgraded from version 0.000159 to 0.000162. =item * L has been upgraded from version 1.302198 to 1.302199. =item * L has been upgraded from version 1.68 to 1.69. =item * L has been upgraded from version 1.35 to 1.36. =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 * Added brief documentation for some tools useful when developing perl itself on Windows or Cygwin. =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 (F) An attempt was made to create an object of a class where the start of the class definition has been seen, but the class has not been completed. This can happen for a failed eval, or if you attempt to create an object at compile time before the class is complete: eval "class Foo {"; Foo->new; # error class Bar { BEGIN { Bar->new } }; # error Previously perl would assert or crash. [L] =back =head2 Changes to Existing Diagnostics =over 4 =item * L Prevent this warning appearing spuriously when checking the heuristic for the L warning. [L] =back =head1 Configuration and Compilation =over 4 =item * You can now separately enable high water mark checks for non-DEBUGGING or disable them for DEBUGGING builds with C<-Accflags=-DPERL_USE_HWM> or C<-Accflags=-DPERL_NO_HWM> respectively. The default remains the same. [L] =back =head1 Selected Bug Fixes =over 4 =item * prepare_export_lexical() was separately saving C and C, this could result in C being restored to a no longer valid value, resulting in a panic when importing lexicals in some cases. [L] =item * A string eval() operation in the scope of a C declaration would sometimes emit spurious "Changing use VERSION" warnings due to an inconsistency in the way the version number was stored. This is now fixed. [L] =back =head1 Known Problems =over 4 =item * fork() failures on cygwin with C<-DDEBUGGING> builds. Perl uses the C<--enable-auto-image-base> option to set the base images for DLLs for C and the DLLs needed for dynamically loaded modules on cygwin. With 5.39.10 if perl is built with C<-DDEBUGGING> or possibly other options that increase the address space used by F, the address space for F overlaps with the address space allocated for F. The C module will still load, but if perl attempts to fork you will likely see an error like: 0 [main] perl 34054 child_info_fork::abort: address space needed by \ 'mro.dll' (0x400000) is already occupied You can workaround this by building without the C<-DDEBUGGING> option, or by making C a static extension: ./Configure ... -Astatic_ext=mro We expect the name change of the F to F in 5.39.11 will fix this problem for the next release. [L] =back =head1 Acknowledgements Perl 5.39.10 represents approximately 5 weeks of development since Perl 5.39.9 and contains approximately 7,000 lines of changes across 380 files from 15 authors. Excluding auto-generated files, documentation and release tools, there were approximately 4,300 lines of changes to 320 .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.39.10: Bernard Quatermass, Craig A. Berry, Dagfinn Ilmari Mannsåker, David Mitchell, Elvin Aslanov, Graham Knop, H.Merijn Brand, James E Keenan, Karl Williamson, Lukas Mai, Paul Evans, TAKAI Kousuke, Tomasz Konojacki, Tony Cook, Yves Orton. 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