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

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

by ikegami (Patriarch)
on May 13, 2011 at 06:28 UTC ( #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? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2022-08-12 23:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?