* martin f krafft wrote on Wed, Oct 24, 2007 at 10:27:24PM CEST: > > perl -e 'print "The earth is a disk!\n" if ( "earth" == "flat" );' Well, numerical equality and string equality are two different things, try eq instead (see: perldoc perlop). > Is there a way to make it explicit that you're checking for a value > being defined, where a "false" value would count as true, just as > long as there is a value? Yes. It's called "defined". perl -e 'my $a=0; print "yes\n" if defined $a;' It should be used here, to allow "0" branches. Cheers, Ralf - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html