On Tue, Feb 01, 2005 at 05:34:18PM -0000, Steve Peters via RT wrote:

> While I agree that an explanation of why "print !!0" doesn't work isn't 
> needed (take a look at 
> Devel::Peek.  It's your friend!), I was unable to find actual documentation 
> as to what values 
> actually evaluate to TRUE or FALSE in Perl.  There is some pasing references 
> to "", 0 and 1 in 
> perlop.pod.  perlfaq4 deals with hashes.  The rest, as I've painfully learned 
> in the past, are 
> undocumented and a common source of bugs for beginners.
> 
> I've got a start on an explanation of what is TRUE or FALSE in Perl.  My 
> question is should it 
> go.

There's a short section entitled "Truth and Falsehood" in perlsyn that's
been there since 5.8.2.  Did you just miss it, or do you think it needs
to be expanded on?

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

Reply via email to