projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8847717
)
perldelta for #3105/5608dcc
author
Father Chrysostomos
<sprout@cpan.org>
Mon, 12 Aug 2013 21:24:18 +0000
(14:24 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Tue, 13 Aug 2013 01:04:05 +0000
(18:04 -0700)
pod/perldelta.pod
patch
|
blob
|
history
diff --git
a/pod/perldelta.pod
b/pod/perldelta.pod
index
1c07a51
..
9beb796
100644
(file)
--- a/
pod/perldelta.pod
+++ b/
pod/perldelta.pod
@@
-469,6
+469,13
@@
was copying the variable. Under threaded builds, it would also happen for
constants (C<for(1) { ... }>). This has been fixed [perl #21979, #78194,
#89188, #109746, #114838, #115388].
+=item *
+
+The range operator C<..> was returning the same modifiable scalars with
+each call, unless it was the only thing in a C<foreach> loop header. This
+meant that changes to values within the list returned would be visible the
+next time the operator was executed [perl #3105].
+
=back
=head1 Known Problems