in reply to Re: Re: Re: Skip 21 Lines
in thread Skip 21 Lines
No... the while goes through 21 one times, then breaks out... (tho might lose line 22... 1..20 might be needed in this case...
but once it exits the loop you either start a new loop or read
the reast into an array or whatever, since your placeholder in
the file is now at line 22. You see? But that way it isnt perfoming the line check after the 21st line..
not a big efficiency savings... but a bit.
- Ant
- Ant
In Section
Seekers of Perl Wisdom