in reply to Re: skipping the first line of a file
in thread skipping the first line of a file
my ... for ...; is not valid Perl. { my $discard = <$fh>; } would do, but there's no reason to give the line to any scalar.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: skipping the first line of a file
by johngg (Canon) on Jun 12, 2009 at 22:39 UTC | |
by ikegami (Patriarch) on Jun 13, 2009 at 20:11 UTC | |
by johngg (Canon) on Jun 13, 2009 at 22:28 UTC | |
Re^3: skipping the first line of a file: "s not valid Perl."
by ww (Archbishop) on Jun 13, 2009 at 03:17 UTC | |
by ikegami (Patriarch) on Jun 13, 2009 at 20:19 UTC |
In Section
Seekers of Perl Wisdom