5.16. TRUE and FALSE

The FALSE values:

undef
""
0  0.0  00000  0e+10
"0"


Other values such as the following are TRUE
1
"00"
"0\n"

if ($z) {
    # $z is true
}


if (defined $x) {
    # $x is defined (not undef)
}