use warnings; my $numb = ''; print $numb + 5; # issues warning $numb ||= 0; print $numb +5; # no warning