http://qs321.pair.com?node_id=697507


in reply to Re: move down 2 lines in file?
in thread move down 2 lines in file?

Also, if you don't know how many lines to skip but you *do* know what the first line-of-interest starts with, you can say something like (untested):
my $good_start = 0; while (<FILE>) { next unless (($good_start) || (/^start-of-data pattern/); $good_start = 1; # do things with the interesting lines }