This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for 1a1d29aaa2e0, 22f05786af0b, d8422270033e
[perl5.git] / pod / perldelta.pod
index 83529ef..c40b955 100644 (file)
@@ -125,9 +125,18 @@ XXX Remove this section if not applicable.
 
 =item *
 
-L<XXX> has been upgraded from version A.xx to B.yy.
+L<IO> has been upgraded from version 1.40 to 1.41.
 
-If there was something important to note about this change, include that here.
+The supplied I<TO> is now always honoured on calls to the send()
+method.  [perl #133936]
+
+=item *
+
+L<Storable> has been upgraded from version 3.15 to 3.16.
+
+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]
 
 =back
 
@@ -137,7 +146,9 @@ If there was something important to note about this change, include that here.
 
 =item *
 
-XXX
+Pod::Parser has been removed from the core distribution.
+It still is available for download from CPAN.  This resolves [perl
+#119439].
 
 =back
 
@@ -348,7 +359,8 @@ well.
 
 =item *
 
-XXX
+L<eval_pv()|perlapi/eval_pv> no longer stringifies the exception when
+C<croak_on_error> is true.  [perl #134175]
 
 =back
 
@@ -363,7 +375,110 @@ files in F<ext/> and F<lib/> are best summarized in L</Modules and Pragmata>.
 
 =item *
 
-XXX
+Setting C<$)> now properly sets supplementary group ids if you have
+the necessary privileges.  [perl #134169]
+
+=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 *
+
+C<%{^CAPTURE_ALL}> is now an alias to C<%-> as documented, rather than
+incorrectly an alias for C<%+>.  [perl #131867]
+
+=item *
+
+C<%{^CAPTURE}> didn't work if C<@{^CAPTURE}> was mentioned first.
+Similarly for C<%{^CAPTURE_A::}> and C<@{^CAPTURE_ALL}>, though
+C<@{^CAPTURE_ALL}> currently isn't used.  [perl #131193]
+
+=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]
+
+=item *
+
+A spurious C<)> in a subparse, such as in C<s/.../code here/e> or
+C<"...${code here}">, no longer confuses the parser.
+
+Previously a subparse was bracketed with generated C<(> and C<)>
+tokens, so a spurious C<)> would close the construct without doing the
+normal subparse clean up, confusing the parser and possible causing an
+assertion failure.
+
+Such constructs are now surrounded by artificial tokens that can't be
+included in the source.  [perl #130585]
+
+=item *
+
+Reference assignment of a sub, such as C<\&foo = \&bar;>, silently did
+nothing in the C<main::> package.  [perl #134072]
+
+=item *
+
+sv_gets() now recovers better if the target SV is modified by a signal
+handler.  [perl #134035]
+
+=item *
+
+C<readline @foo> now evaluates C<@foo> in scalar context.  Previously
+it would be evalauted in list context, and since readline() pops only
+one argument from the stack, the stack could underflow, or be left
+with unexpected values on the stack.  [perl #133989]
 
 =back