On Sun, Jan 20, 2002 at 10:58:34PM -0800, Larry Wall wrote:
> :     while( my $line = <FILE> ) {
> :         ...
> :     }
> 
> That still works fine--it's just that $line lives on after the while.

This creeping lexical leakage bothers me.  While it might make the
language simpler, the proliferation of left-over lexicals seems
sloppy.


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <[EMAIL PROTECTED]>         Kwalitee Is Job One
"Hey kids!  I'm Beefy the Elf!  Follow me to Meattart Land!"
"It's like chewing on a lemon cow!"
"I like Meattarts 'cause they're meaty!"
"I like Meattarts 'cause... wait.  These suck."
        http://www.goats.com/archive/000608.html

Reply via email to