in reply to Re: zero vs. empty
in thread zero vs. empty

Something is true if the value meets Perl's definition of true.(i.e., anything that isn't zero or the empty string)

undef is false too.

++ vs lbh qrpbqrq guvf hfvat n ge va Crey :)
Nabgure bar vs lbh qvq fb jvgubhg ernqvat n znahny svefg.
-- vs lbh hfrq OFQ pnrfne ;)
    - Whreq

Replies are listed 'Best First'.
Re: Re: Re: zero vs. empty
by Trimbach (Curate) on Mar 04, 2002 at 00:02 UTC
    Well, yes, but that's just an extension of what I said, since any undefined value always evaluates either to zero or the null string. So speaketh the Camel, 3rd ed., pg. 30. :-D

    Gary Blackburn
    Trained Killer