On 3/18/05 12:18 AM, Larry Wall wrote: > Autochomping is one of the motivations for switching from "while" to > "for" for the normal line input method, since "while" might think a > blank line is false, while "for" only cares whether the next value > is defined.
Speaking of which (ha), does that mean we can ditch the hack that internally
auto-translates this:
while($file = readdir(...)) { ... }
into this:
while(defined($file = readdir(...)) { ... }
in Perl 5? Because that'd be nice... :)
-John
