This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71b4007
)
perldelta for f65493df1c (lv sort args)
author
Father Chrysostomos
<sprout@cpan.org>
Sat, 13 Jul 2013 21:37:38 +0000
(14:37 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Sat, 13 Jul 2013 23:44:32 +0000
(16:44 -0700)
pod/perldelta.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perldelta.pod
b/pod/perldelta.pod
index
b65e4de
..
7942f04
100644
(file)
--- a/
pod/perldelta.pod
+++ b/
pod/perldelta.pod
@@
-528,6
+528,13
@@
place, such as C<@a = sort @a>. During the sorting, the array is made
read-only. If a sort block should happen to die, then the array remained
read-only even outside the C<sort>. This has been fixed.
+=item *
+
+C<$a> and C<$b> inside a sort block are aliased to the actual arguments to
+C<sort>, so they can be modified through those two variables. This did not
+always work, e.g., for lvalue subs and C<$#ary>, and probably many other
+operators. It works now.
+
=back
=head1 Known Problems