in reply to Re: loop problem
in thread loop problem

Transient,
Try slurping the FH into an array and using that (if it's not too big).

And if it is too big? I would recommend using tell and seek for the general case and only slurping in the specific case (you know for sure it is a sane thing to do).

Cheers - L~R