perldelta for 2e73d70e52
authorFather Chrysostomos <sprout@cpan.org>
Mon, 11 Nov 2013 21:39:24 +0000 (13:39 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 12 Nov 2013 00:13:21 +0000 (16:13 -0800)
pod/perldelta.pod

index ad2a768..e1c4dac 100644 (file)
@@ -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