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:
7269fba
)
perldelta for 2e73d70e52
author
Father Chrysostomos
<sprout@cpan.org>
Mon, 11 Nov 2013 21:39:24 +0000
(13:39 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Tue, 12 Nov 2013 00:13:21 +0000
(16:13 -0800)
pod/perldelta.pod
patch
|
blob
|
history
diff --git
a/pod/perldelta.pod
b/pod/perldelta.pod
index
ad2a768
..
e1c4dac
100644
(file)
--- a/
pod/perldelta.pod
+++ b/
pod/perldelta.pod
@@
-374,6
+374,13
@@
C<else> blocks in lvalue subroutines. Previously, arrays and hashes would
sometimes incorrectly be flattened when returned in lvalue list context, or
"Bizarre copy" errors could occur. [perl #119797]
+=item *
+
+Lvalue context is now propagated to the branches of C<||> and C<&&> (and
+their alphabetic equivalents, C<or> and C<and>). This means
+C<foreach (pos $x || pos $y) {...}> now allows C<pos> to be modified
+through $_.
+
=back
=head1 Known Problems