Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

RE: RE: My favorite looping mechanism in Perl is:

by BBQ (Deacon)
on May 10, 2000 at 20:14 UTC ( #10987=note: print w/ replies, xml ) Need Help??


in reply to RE: My favorite looping mechanism in Perl is:
in thread My favorite looping mechanism in Perl is:

AHA! But you CAN! One of my 1st posts (back in December) was exactly on this topic. The only reason why its not good to do a

foreach (<FILE>) { }
is because the whole FH gets thrown into memory before the iterations (or so I've been told). But, yeah, practically it wouldn't be that good...


Comment on RE: RE: My favorite looping mechanism in Perl is:
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2014-09-19 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (137 votes), past polls