Well, now I feel sufficiently stupid:) Thanks! On 2012-08-14, at 6:19 PM, Jim Gibson <jimsgib...@gmail.com> wrote:
> >> > > Have you tried printing out the values of ($1,$2,$3,$4,$5), $cur, and pos > $numb for each iteration? I think you will find it most informative to do so. > > Hint: you should be using a while loop instead of a for loop. > -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/