in reply to Where is $# fully documented?

I see several references to $# in perldata. UPDATE: I didn't notice you were focusing on references.

Replies are listed 'Best First'.
Re^2: Where is $# fully documented?
by LanX (Saint) on Sep 23, 2014 at 14:20 UTC
    I scanned perldata and it only mentions the classic use with an @array symbol (i.e. $#array ), but no array ref (i.e. $#$aref or $#{$aref} ).

    IIRC does perldsc show code using the trick, but w/o worded explanation.

    Is it meant to be an undocumented feature, which can possibly change in the future?

    Cheers Rolf

    (addicted to the Perl Programming Language and ☆☆☆☆ :)