In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/2f4cbc090a480b0d02b4e74258b553c7998e45eb?hp=47ff51ce83dcde3c982b2c6c5606b7f839ac210e>

- Log -----------------------------------------------------------------
commit 2f4cbc090a480b0d02b4e74258b553c7998e45eb
Author: David Mitchell <[email protected]>
Date:   Wed Oct 26 09:51:57 2016 +0100

    Add perldelta entries for
    
    8b0c3377906a6f991cd6c21a674bf9561d85e3cb
    b09ed995add057b8e0b51964b48ef1d1cc3c9c91
-----------------------------------------------------------------------

Summary of changes:
 pod/perldelta.pod | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 062c66f17a..9bef25792a 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -89,7 +89,12 @@ There may well be none in a stable release.
 
 =item *
 
-XXX
+Array and hash assignment are now faster, e.g.
+
+    (..., @a) = (...);
+    (..., %h) = (...);
+
+especially when the RHS is empty.
 
 =back
 
@@ -338,7 +343,17 @@ files in F<ext/> and F<lib/> are best summarized in 
L</Modules and Pragmata>.
 
 =item *
 
-XXX
+List assignment in list context where the LHS contained aggregates and
+where there were not enough RHS elements, used to skip scalar lvalues.
+Previously, C<(($a,$b,@c,$d) = (1))> in list context returned C<($a)>; now
+it returns C<($a,$b,$d)>. C<(($a,$b,$c) = (1))> is unchanged: it still
+returns <($a,$b,$c)>. This can be seen in the following:
+
+    sub inc { $_++ for @_ }
+    inc(($a,$b,@c,$d) = (10))
+
+Formerly, the values of C<($a,$b,$d)> would be left as C<(11,undef,undef)>;
+now they are C<(11,1,1)>.
 
 =back
 

--
Perl5 Master Repository

Reply via email to