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

Re^2: file processing, while and foreach: a n00b experience

by Aristotle (Chancellor)
on Aug 28, 2003 at 12:12 UTC ( [id://287323]=note: print w/replies, xml ) Need Help??


in reply to Re: file processing, while and foreach: a n00b experience
in thread file processing, while and foreach: a n00b experience

In fact I suspect that, true to the Perl optimization rule of not involving the dispatcher if at all possible, using for in Perl 6 to implictly alias to the topic and letting the lazy behaviour implicitly determine EOFness for you will be more efficient than using while while explicitly assigning to a variable and explicitly testing for definedness. </handwaving>

Makeshifts last the longest.

  • Comment on Re^2: file processing, while and foreach: a n00b experience

Log In?
Username:
Password:

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

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

    No recent polls found