--- Damian Conway <[EMAIL PROTECTED]> wrote:
 
> It's probably just a matter of coding what you actually mean. 
> In Perl 5 and 6 your version means "if $fh is true in *any* 
> possible way...", whereas you seem to want "if $fh is defined",
> which is:

Hmm. I can easily see this producing incomprehensible code when spread
across large systems. To wit, those developers used to "0 means false"
semantics seeings a scalar that they just know has a 0 in it and
wondering why the branch isn't doing what they know it should.

This will have to be addressed using a coding convention of some sort,
I suppose. What's the verbose way to query the "is true" property of a
thingy?


>    > Can 'undef' valued thingys have properties
> 
> Yes.
>    
>    > and functions?
> 
> No.

Aren't things like memoizability essentially properties? 

=Austin
 


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to