RD> Perl has no proper boolean values. Instead, the boolean operators RD> treat zero, undef, and the null string '' all as false. Anything else RD> is true.
to be pedantic, '0' is also false. it isn't exactly the same as 0. come again with that? how is: $string = 0; #different from $string = '0'; they both define $string as something, right?