An array in scalar context returns the number of elements in the array.
my $suppliercount = @supplier;
In reply to Re: Need to count the number of entries in a array
by jwkrahn
in thread Need to count the number of entries in a array
by Baffled
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |