in reply to undef vs 0
Yet another solution:
my ($value) = grep defined, getConfigValue( "use_foo" ), 1;
In Section
Seekers of Perl Wisdom
in reply to undef vs 0
my ($value) = grep defined, getConfigValue( "use_foo" ), 1;