Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Reading files n lines a time

by naturalsciences (Beadle)
on Dec 06, 2012 at 14:12 UTC ( #1007582=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while ($line0=<>) {$line1=<>;$line2=<>;$line3=<>;
    last if not defined $line0;
    last if not defined $line1;
    ...
    last if not defined $line3;
    do_some_stuff;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007582]
help
Chatterbox?
[stevieb]: in a C++ header file, if a function declaration is listed twice with each listing containing different params, that's just essentially allowing one function accept two different arg lists, yes?

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2017-06-28 23:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (653 votes). Check out past polls.