Remeber, arrays start with 0 as the first item.$#a = 4; # Sets the length of the array @a to four print scalar(@a); # Prints how many elements are in the @a array.
In reply to Re: I've never seen this before - $#a = 4 - ??
by joshua
in thread I've never seen this before - $#a = 4 - ??
by emilford
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |