in reply to confused w/ map and trueness

0 (zero) evaluates to false.

$_ eq '' ? default : $_ or
$_ eq "" ? default : $_
seems to be what you want


Be Appropriate && Follow Your Curiosity