in reply to confused w/ map and trueness

Test if it's the empty string:

$_ ne '' ? $_ : 'default'