Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^4: How to read every 16 line of file ?

by ikegami (Patriarch)
on May 13, 2011 at 06:28 UTC ( [id://904592]=note: print w/replies, xml ) Need Help??


in reply to Re^3: How to read every 16 line of file ?
in thread How to read every 16 line of file ?

My code reads from ARGV, not STDIN, so his comment does apply. Mind you, the OP said "file" singular, so resetting shouldn't be necessary.

See eof to reset the counter between files when using ARGV.

  • Comment on Re^4: How to read every 16 line of file ?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-25 17:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found