In otherwords, try doing that problem by hand. Write some pseudo-code to implement your solution. Then translate that into Perl.
In reply to Re: for loop by apl in thread for loop by texuser74