summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-06-09 21:24:01 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-06-09 21:24:01 -0700
commitfad4a2e4a4e2d22bf0b29de7f20808f0a01e79a2 (patch)
treef6b51a40b445bc5fa5ddd5159e0b5422935eba82 /pod
parent6a8709a60c31d74562d0cb240c7a34a5768b3a94 (diff)
downloadperl-fad4a2e4a4e2d22bf0b29de7f20808f0a01e79a2.tar.gz
Scalar keys assignment through lvalue subs
This used not to work: sub foo :lvalue { keys %wallet } foo = 37; Now it does. It was just a matter of following the right code path in op_lvalue when the parent op is a leavesublv instead of a sassign.
Diffstat (limited to 'pod')
-rw-r--r--pod/perldelta.pod5
1 files changed, 5 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 9994b52b63..98abe963bb 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -707,6 +707,11 @@ thing returned from the subroutine (but not for C<$scalar, @array> or
hashes being returned). Now a more general fix has been applied
[RT #23790].
+=item *
+
+Assignment to C<keys> returned from an lvalue sub used not to work, but now
+it does.
+
=back
=item *