On Wed, May 30, 2001 at 02:00:59PM -0400, Buddha Buck wrote:
> I'd be interested in seeing how "it" would be better than what works now.
> 
> Why is:
> 
> 1 until defined(getvalue()); return it;
> 
> better than
> 
> 1 until defined($foo=getvalue()); return foo;

Done properly, it would have to be:

    my $foo;
    1 until defined $foo=getval;
    return $foo;

-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl6 Quality Assurance     <[EMAIL PROTECTED]>       Kwalitee Is Job One
BOFH excuse #109:

The electricity substation in the car park blew up.

Reply via email to