$#arr returns a zero indexed length of items list $#arr = 3
I think it is fundamentally misleading to refer to what $#array returns as a "length". Rather, I would say it is the highest index of the array, and depends on what the $ARRAY_BASE special variable (aka $[ – see perlvar) has been set to (but don't do that!).
In reply to Re^2: @array elements multiplication with another array elements.
by AnomalousMonk
in thread @array elements multiplication with another array elements.
by New Perlmonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |