I was wondering whether the Perl 'while (<>){' idiom will continue to be
supported in Perl 6?  I seem to recall people posting example code the list
using it (although I can't dig any up), but it seems to me that if Perl 6's
lazy list implementation is sufficiently smart, it could just be replaced with
'for <> {'.  The only issues I can see are people using <> inside the loop, and
maybe something about the scope of $_.  (Does a topicalized $_ change the value
of $_ outside of the loop?) 
-- 
Adam Lopresto ([EMAIL PROTECTED])
http://cec.wustl.edu/~adam/

perl -le '$_=(split q,",,`$^Xdoc -q japh`)[1].".";y/pj/PJ/;print'

Reply via email to