I also do the same thing to avoid "Use of uninitialized value in concatenation (.) or string" warnings:my $numb = ''; print 5 + ($numb||0); # no warning
print "==> Foo: " . ($s || '') . "<===\n";
In reply to Re^2: "" isn't numeric...
by davidrw
in thread "" isn't numeric...
by moltar512
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |