$#array is the index of the last element of @array. Which is the same as the scalar(@array)-1;
Depending on which version of perl and the value of $[. :)
In reply to Re^4: Array value changing for some reason
by jwkrahn
in thread Array value changing for some reason
by Silt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |