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..
> > }
>
>
- loop counting Bob Mangold
- Re: loop counting Jeff 'japhy' Pinyan
- Re: loop counting Michael Fowler
- Re[OT]loop counting Paul
- Re: loop counting Brett W. McCoy
- Re: loop counting Paul
- Re: loop counting Bob Mangold
- Re[OT]loop counting Paul
- Kipp, James
