Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: skipping the first line of a file

by Bloodnok (Vicar)
on Jun 12, 2009 at 15:13 UTC ( [id://770992]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my ($first, @rest) = <DATA>;
    warn "first: $first";
    ...
    header
    line1
    line2
    
  2. or download this
    user@unforgiven:~$ perl tst.pl
    first: header
    rest:  line1
     line2
    user@unforgiven:~$
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://770992]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-03-28 15:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found