Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

RE: My favorite looping mechanism in Perl is:

by Simplicus (Monk)
on May 09, 2000 at 22:55 UTC ( #10792=note: print w/ replies, xml ) Need Help??


in reply to My favorite looping mechanism in Perl is:

foreach is cool, but without while you couldn't say while(<FILE>), which is cool, too...

Simplicus


Comment on RE: My favorite looping mechanism in Perl is:
RE: RE: My favorite looping mechanism in Perl is:
by BBQ (Deacon) on May 10, 2000 at 20:14 UTC
    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...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2014-07-30 02:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (229 votes), past polls