http://qs1969.pair.com?node_id=770973


in reply to skipping the first line of a file

my $first_line = <DATA>; while (<DATA>) { ... }
or
while (<DATA>) { next if $. == 1; }
Update: Forgot the obvious case. The first being preferred (imo) so as not to execute each iteration.