Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: skipping the first line of a file

by citromatik (Curate)
on Jun 12, 2009 at 21:45 UTC ( #771115=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $discard = <$fh> for 1 .. 1;
    # $discard no longer in scope here.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://771115]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2016-12-11 01:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (168 votes). Check out past polls.