summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.