In perl.git, the branch autarch/release-5.17.7 has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/6911642dca720085994567510f76a41634da2959?hp=475c088e77eb68c5034e4f03d0ef81ece40cfd59>

- Log -----------------------------------------------------------------
commit 6911642dca720085994567510f76a41634da2959
Author: Dave Rolsky <auta...@urth.org>
Date:   Mon Dec 17 15:32:35 2012 -0600

    Better description of hash assignment bug fixes

M       pod/perldelta.pod

commit 199840278c1b2915553fed5155eb43e8898acba7
Author: Dave Rolsky <auta...@urth.org>
Date:   Mon Dec 17 15:31:26 2012 -0600

    Clarify hash assignment bug fix in list context

M       pod/perldelta.pod
-----------------------------------------------------------------------

Summary of changes:
 pod/perldelta.pod |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 3415403..a2392a2 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -361,7 +361,8 @@ _charnames from loading via C<$INC{'_charnames.pm'}++>.
 
 =item *
 
-A number of bugs related to hash assignment have been fixed:
+A number of bugs related to assigning a list to hash have been fixed. Many of
+these involve lists with repeated keys like C<(1, 1, 1, 1)>.
 
 =over 8
 
@@ -371,12 +372,13 @@ The expression C<scalar(%h = (1, 1, 1, 1))> now returns 
C<4>, not C<2>.
 
 =item -
 
-Perl now issues the same warning on C<($s, %h) = (1, {})> as it does for
-C<(%h) = ({})>, "Reference found where even-sized list expected".
+The return value of C<%h = (1, 1, 1)> in list context was wrong. Previously
+this would return C<(1, undef, 1)>, now it returns C<(1, undef)>.
 
 =item -
 
-The return value of C<%h = (1, 1, 1)> in list context was wrong.
+Perl now issues the same warning on C<($s, %h) = (1, {})> as it does for
+C<(%h) = ({})>, "Reference found where even-sized list expected".
 
 =item -
 

--
Perl5 Master Repository

Reply via email to