Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: skipping the first line of a file

by johngg (Abbot)
on Jun 12, 2009 at 22:44 UTC ( #771131=note: print w/ replies, xml ) Need Help??


in reply to Re^2: skipping the first line of a file
in thread skipping the first line of a file

silently reads the next line

I use $discard to make it more obvious that the return value of the readline is being thrown away.

Cheers,

JohnGG


Comment on Re^3: skipping the first line of a file
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2015-07-04 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls