$#array is the last index of @array. By default the first index in an array is 0, so when using the default settings $#array will be 'scalar @array - 1'.
Elda Taluta; Sarks Sark; Ark Arks
In reply to Re^3: ARGV behaviour in getopts std
by Argel
in thread ARGV behaviour in getopts std
by perl_mystery
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |