From 2bcaee201241b9f2e074ee2ca7503c9ef0bfdfe7 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Tue, 17 Dec 2013 18:06:34 -0800 Subject: [PATCH] Document ->$#* in perlref --- pod/perlref.pod | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pod/perlref.pod b/pod/perlref.pod index 3f53741..6c5a7e1 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 equivalent to C<< $cref->() >>, and can serve different purposes. -- 2.7.4