Skip to content

Commit

Permalink
PATCH [perl 116252]: Correct nested pod bullets in perl5177delta.pod
Browse files Browse the repository at this point in the history
  • Loading branch information
Smylers authored and Karl Williamson committed Jan 26, 2013
1 parent aa384da commit 7a4cf48
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pod/perl5177delta.pod
Original file line number Diff line number Diff line change
Expand Up @@ -365,23 +365,23 @@ _charnames from loading via C<$INC{'_charnames.pm'}++>.
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
=over 4

=item -
=item *

The expression C<scalar(%h = (1, 1, 1, 1))> now returns C<4>, not C<2>.

=item -
=item *

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 -
=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 -
=item *

A number of additional edge cases in list assignment to hashes were
corrected. For more details see commit 23b7025ebc.
Expand Down

0 comments on commit 7a4cf48

Please sign in to comment.