in reply to how do I get perl to skip lines reading a text file?
Although this is exactly the same as doing <FH> in the given context. Maybe some code would help?my $line = <FH>; $line = readline(*FH) if $line =~ /$some_regex/;
_________
broquaint
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: next line
by harry34 (Sexton) on May 16, 2002 at 13:17 UTC | |
by broquaint (Abbot) on May 16, 2002 at 13:35 UTC |