[ this is a template for a new perldelta file. Any text flagged as XXX needs
to be processed before release. ]
-perldelta - what is new for perl v5.31.1
+perldelta - what is new for perl v5.31.4
=head1 DESCRIPTION
-This document describes differences between the 5.31.0 release and the 5.31.1
+This document describes differences between the 5.31.3 release and the 5.31.4
release.
-If you are upgrading from an earlier release such as 5.30.0, first read
-L<perl5310delta>, which describes differences between 5.30.0 and 5.31.0.
+If you are upgrading from an earlier release such as 5.31.2, first read
+L<perl5313delta>, which describes differences between 5.31.2 and 5.31.3.
=head1 Notice
[ List each enhancement as a =head2 entry ]
+=head2 Now can dump compiled patterns before optimization
+
+This is primarily useful for tracking down bugs in the regular
+expression compiler. This dump happens on C<-DDEBUGGING> perls, if you
+specify C<-Drv> on the command line; or on any perl if the pattern is
+compiled within the scope of S<C<use re qw(Debug DUMP_PRE_OPTIMIZE)>> or
+S<C<use re qw(Debug COMPILE EXTRA)>>. (All but the 2nd case display
+other information as well.)
+
=head1 Security
XXX Any security-related notices go here. In particular, any security
=item *
-L<Storable> has been upgraded from version 3.15 to 3.16.
+L<XXX> has been upgraded from version A.xx to B.yy.
-Regular expressions objects weren't properly counted for object id
-purposes on retrieve. This would corrupt the resulting structure, or
-cause a runtime error in some cases. [perl #134179]
+If there was something important to note about this change, include that here.
=back
=item *
-Pod::Parser has been removed from the core distribution.
-It still is available for download from CPAN. This resolves [perl
-#119439].
+XXX
=back
=item *
-L<eval_pv()|perlapi/eval_pv> no longer stringifies the exception when
-C<croak_on_error> is true. [perl #134175]
+XXX
=back
=item *
-close() on a pipe now preemptively clears the PerlIO object from the
-IO SV. This prevents a second attempt to close the already closed
-PerlIO object if a signal handler calls die() or exit() while close()
-is waiting for the child process to complete. [perl #122112]
-
-=item *
-
-C<< sprintf("%.*a", -10000, $x) >> would cause a buffer overflow due
-to mishandling of the negative precision value. [perl #134008]
-
-=item *
-
-scalar() on a reference could cause an erroneous assertion failure
-during compilation. [perl #134045]
-
-=item *
-
-Extraordinarily large (over 2GB) floating point format widths could
-cause an integer overflow in the underlying call to snprintf(),
-resulting in an assertion. Formatted floating point widths are now
-limited to the range of int, the return value of snprintf(). [perl
-#133913]
-
-=item *
-
-Parsing the following constructs within a sub-parse (such as with
-C<"${code here}"> or C<s/.../code here/e>) has changed to match how
-they're parsed normally:
-
-=over
-
-=item *
-
-C<print $fh ...> no longer produces a syntax error.
-
-=item *
-
-Code like C<s/.../ ${time} /e> now properly produces an "Ambiguous use
-of ${time} resolved to $time at ..." warning when warnings are enabled.
-
-=item *
-
-C<@x {"a"}> (with the space) in a sub-parse now properly produces a
-"better written as" warning when warnings are enabled.
-
-=item *
-
-attributes can now be used in a sub-parse.
-
-=back
-
-[perl #133850]
-
-=item *
-
-Incomplete hex and binary literals like C<0x> and C<0b> are now
-treated as if the C<x> or C<b> is part of the next token. [perl
-#134125]
+Perl no longer treats strings starting with "0x" or "0b" as hex or
+binary numbers respectively when converting a string to a number.
+This reverts a change in behaviour inadvertently introduced in perl
+5.30.0 intended to improve precision when converting a string to a
+floating point number. [perl #134230]
=back
XXX Generate this with:
- perl Porting/acknowledgements.pl v5.31.0..HEAD
+ perl Porting/acknowledgements.pl v5.31.3..HEAD
=head1 Reporting Bugs