From: Abhijit Menon-Sen Date: Wed, 8 Oct 2003 06:13:07 +0000 (+0000) Subject: "Are implicit undefs true?" asks Gisle. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f92061c11e7fe50284dd98a84e8554b118bf40e1;p=p5sagit%2Fp5-mst-13.2.git "Are implicit undefs true?" asks Gisle. p4raw-id: //depot/perl@21422 --- diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod index 8c7c9a3..98bd8fa 100644 --- a/pod/perlsyn.pod +++ b/pod/perlsyn.pod @@ -103,9 +103,8 @@ as the last item in a statement. =head2 Truth and Falsehood -The number 0, the strings C<'0'> and C<''>, the empty list C<()>, and an -explicit C are all false in a boolean context. Every other value -is true. +The number 0, the strings C<'0'> and C<''>, the empty list C<()>, and +C are all false in a boolean context. All other values are true. Note that while 0, 0.0 and C<'0'> are false, C<'0.0'> and C<'0e0'> are true, but evaluate to 0 in a numeric context.