Of course, if the number of lines changes, the code will have to as well. :-(my $cnt = 0; open (FILE,$filename)||die "Cannot open $filename\n$!\n"; while($cnt<5){ $header = <FILE>; } # now we can go through the records... while(<FILE>){ ... } close (FILE);
In reply to Re: Stripping page headers
by mrmick
in thread Stripping page headers
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |