open( FH, $yourfile ) or die "Can't open $yourfile: $!\n"; while( <FH> ){ next if /pattern_indicating_line_to_skip/; # otherwise, do stuff... }
In reply to Re: next line
by mrbbking
in thread how do I get perl to skip lines reading a text file?
by harry34
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |