summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-11-16 12:45:24 -0800
committerFather Chrysostomos <sprout@cpan.org>2014-11-16 12:45:24 -0800
commitc0b328239f08ddccafa94468a30099372e1f0345 (patch)
treeeed38baac25f42a3781e33846c826a4ef418b47a /pod
parent9ec867d303cffadd6a5b0254413c3c221d50d4be (diff)
downloadperl-c0b328239f08ddccafa94468a30099372e1f0345.tar.gz
perldelta for ff781254a3
Diffstat (limited to 'pod')
-rw-r--r--pod/perldelta.pod7
1 files changed, 7 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index ae3021b9d1..611ceb648f 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -511,6 +511,13 @@ permitted as the first thing in a C<map> or C<grep> block, the block after
C<print> or C<say> (or other functions) returning a handle, and within
C<${...}>, C<@{...}>, etc. [perl #122782]
+=item *
+
+The repetition operator C<x> now propagates lvalue context to its left-hand
+argument when used in contexts like C<foreach>. That allows
+C<for(($#that_array)x2) { ... }> to work as expected if the loop modifies
+$_.
+
=back
=head1 Known Problems