in reply to Re: Where is $# fully documented?
in thread Where is $# fully documented?

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 ☆☆☆☆ :)