XP is just a number | |
PerlMonks |
Re^2: file processing, while and foreach: a n00b experienceby Aristotle (Chancellor) |
on Aug 28, 2003 at 12:12 UTC ( [id://287323]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Meditations
|
|