in reply to How do I re-read a line?
work in this particular case? Actually, if you also didnext if /^\d-RECORD$/;
it would seem that you wouldn't need the external check for /^\d-RECORDS$/. This is all based on the code I can see, of course, you may have other reasons for wanting to process each record separately, with one sub call each? Otherwise, I'd restructure my logic a bit.next if /^$/;
Update: to see what I mean, listen to the not-as-lazy-as-me Mr. Muskrat. :)
Hope that helps. :)
|
|---|