ormy $first_line = <DATA>; while (<DATA>) { ... }
Update: Forgot the obvious case. The first being preferred (imo) so as not to execute each iteration.while (<DATA>) { next if $. == 1; }
In reply to Re: skipping the first line of a file
by Transient
in thread skipping the first line of a file
by Angharad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |