in reply to undef vs 0

this is about the same I guess:

my $value;
defined ($value = getConfigValue( "use_foo" )) or $value = 1;