OH Chilly Monk,
If I want to know the number of elements in an array I'd try one of two things:
Either of the two will work.# assume two arrays with a number of elements # @rray1 & @rray2 my $elements_1 = scalar @rray1; # or my $elements_2 = $#rray2 + 1;
In reply to Re: Number of elements in array
by blue_cowdawg
in thread Number of elements in array
by Freezer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |