my @colors = qw/red green blue cyan/; print "I have " . scalar @colors . " colors\n";
In reply to Re: Finding the total number of elements in an array.
by dempa
in thread Finding the total number of elements in an array.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |