my $foo = undef; print "\$foo = " . ($foo || 0); [download]
In reply to Re: Stringifying undefs by esskar in thread Stringifying undefs by BUU