summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Rolsky <autarch@urth.org>2012-12-17 11:46:13 -0600
committerDave Rolsky <autarch@urth.org>2012-12-17 11:46:13 -0600
commit216cf7fc10c92aa0e88f6a7c26b1c823bbb7c277 (patch)
treebd9cf232e4bfef4091a234a37b717a5491569b44
parentcb65b68777357c80fe35f4b74d7ac36c7b471b66 (diff)
downloadperl-216cf7fc10c92aa0e88f6a7c26b1c823bbb7c277.tar.gz
Work in progress on perldelta for 23b7025ebc
I still need to figure out what some of the changes described in http://www.nntp.perl.org/group/perl.perl5.porters/2012/10/msg194211.html actually mean.
-rw-r--r--pod/perldelta.pod23
1 files changed, 23 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index cd2fde3ba7..92a84ec79c 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -568,6 +568,29 @@ C<reset> no longer makes threaded builds crash.
An earlier release in the 5.17.x series could crash if user code prevented
_charnames from loading via C<$INC{'_charnames.pm'}++>.
+=item *
+
+A number of bugs related to hash assignment have been fixed:
+
+=over 8
+
+=item
+
+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".
+
+=item
+
+The return value of C<%h = (1, 1, 1)> (in list context was wrong. It would
+return I<just> those items instead of returning an additional C<undef> value
+for the missing value in the assignment.
+
+=back
+
=back
=head1 Known Problems