Wc -Sx- Jones wrote:
> 
> Oliver Schnarchendorf wrote:
> >       By false I mean it isn't set to 1 which equals true.
> 
> These are false (or undefined) -
> 
> 0
> "0"
> ""
> NULL

Perl doesn't have a NULL symbol, you probably meant undef.


> Just about everything else is true:
> 
> 1 or greater

-1 or less

> "00"
> "any string"

Note that a string in numerical context evaluates to 0 which is false.



John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to