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:
07a522a
)
perldelta for 20d5dc239 (fatal in-place sort)
author
Father Chrysostomos
<sprout@cpan.org>
Sat, 13 Jul 2013 21:35:49 +0000
(14:35 -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
9148eec
..
b65e4de
100644
(file)
--- a/
pod/perldelta.pod
+++ b/
pod/perldelta.pod
@@
-521,6
+521,13
@@
an internal copy of the scalar instead.
Undefining an inlinable lexical subroutine (C<my sub foo() { 42 } undef
&foo>) would result in a crash if warnings were turned on.
+=item *
+
+Certain uses of the C<sort> operator are optimised to modify an array in
+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.
+
=back
=head1 Known Problems