Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: skipping the first line of a file

by Bloodnok (Vicar)
on Jun 12, 2009 at 15:13 UTC ( #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? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2023-04-01 19:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?