good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: perlcaller.plby Juerd (Abbot) |
on Jan 21, 2002 at 17:42 UTC ( [id://140385]=note: print w/replies, xml ) | Need Help?? |
Why do you use TRUE and FALSE constants? Perl already has some sense of true and false ("", "0", 0 and undef are false, all other values are true). If you ever need a representation in terms of 1 or 0, just use ?:. (Or the more evil !!$foo || 0 :))
In Section
Code Catacombs
|
|