if your looping thru the elements of an array you can always just grab the #
of elements:
$elem = scalar(@array);


 
> > Is there a perl variable that automatically counts loop 
> iterations. Such that I
> > don't have to use '$count':
> >
> > foreach (@array){
> >   $count++;
> >   ..whatever..
> > }
>
> 

Reply via email to