in reply to Re^3: Where is $# fully documented?
in thread Where is $# fully documented?
That's my point, I couldn't mentally map this behavior to normal dereferencing mechanics cause it rather feels like a magic feature.
To make it more obvious, theoretically we could have a special syntax for keys and values of a hash ( like e.g. %<hash ).
This would be a similar beast (/me struggling for a name ;)
> In any case, $#$arrayref / $#{$arrayref}ought to be added to the examples there
Definitely!
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Where is $# fully documented?
by ikegami (Patriarch) on Sep 24, 2014 at 13:05 UTC |