summaryrefslogtreecommitdiff
path: root/pod/perlref.pod
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2013-12-17 18:06:34 -0800
committerFather Chrysostomos <sprout@cpan.org>2013-12-18 06:22:56 -0800
commit2bcaee201241b9f2e074ee2ca7503c9ef0bfdfe7 (patch)
treef087e623491eafff64802bfd0970dc219de1eb50 /pod/perlref.pod
parentb0e181c76b00e88422f4a2a989a0ae858df04d33 (diff)
downloadperl-2bcaee201241b9f2e074ee2ca7503c9ef0bfdfe7.tar.gz
Document ->$#* in perlref
Diffstat (limited to 'pod/perlref.pod')
-rw-r--r--pod/perlref.pod11
1 files changed, 6 insertions, 5 deletions
diff --git a/pod/perlref.pod b/pod/perlref.pod
index 3f537416d1..6c5a7e1234 100644
--- a/pod/perlref.pod
+++ b/pod/perlref.pod
@@ -767,11 +767,12 @@ Postfix dereference should work in all circumstances where block
syntax allows dereferencing to be written and read entirely
left-to-right. The following equivalencies are defined:
- $sref->$*; # same as ${ $sref }
- $aref->@*; # same as @{ $aref }
- $href->%*; # same as %{ $href }
- $cref->&*; # same as &{ $cref }
- $gref->**; # same as *{ $gref }
+ $sref->$*; # same as ${ $sref }
+ $aref->@*; # same as @{ $aref }
+ $aref->$#*; # same as $#{ $aref }
+ $href->%*; # same as %{ $href }
+ $cref->&*; # same as &{ $cref }
+ $gref->**; # same as *{ $gref }
Note especially that C<< $cref->&* >> is I<not> equivalent to C<<
$cref->() >>, and can serve different purposes.