my $header_line; while (<$fh>) { next unless /^fieldname/; # skip to header line $header_line = $_; last; ####### ADDD THIS ##### }
In reply to Re: skip junk lines in csv before header
by Marshall
in thread skip junk lines in csv before header
by karlberry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |