diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-10-17 18:07:47 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-10-17 20:28:37 -0700 |
commit | baabe3fb419f01704a85104dce71b0c631a4a373 (patch) | |
tree | e678982ce70016159b2b424ee513c881158ead4e /pod/perlref.pod | |
parent | 7caca87c551af84ff2565616310024f95c4a5c7c (diff) | |
download | perl-baabe3fb419f01704a85104dce71b0c631a4a373.tar.gz |
Rename lvalue references
Also correct the description of lvref magic. When it was first added,
it was for list assignments only, but that soon changed.
Diffstat (limited to 'pod/perlref.pod')
-rw-r--r-- | pod/perlref.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlref.pod b/pod/perlref.pod index 5df9a70660..d3c12f17fe 100644 --- a/pod/perlref.pod +++ b/pod/perlref.pod @@ -814,9 +814,9 @@ side: \$a = \$b; # $a and $b now point to the same scalar \&foo = \&bar; # foo() now means bar() -This syntax must be enabled with C<use feature 'lvalue_refs'>. It is +This syntax must be enabled with C<use feature 'refaliasing'>. It is experimental, and will warn by default unless C<no warnings -'experimental::lvalue_refs'> is in effect. +'experimental::refaliasing'> is in effect. These forms may be assigned to, and cause the right-hand side to be evaluated in scalar context: |