for (0..$#array) { print $array[$_]; } [download]
Cheers, KM
In reply to RE: Re: Of foreach loops and counting by KM in thread Of foreach loops and counting by Cirollo