in reply to To warn or not to warn, that is the question

What about something like this:
my $x = some_func() || 0;
This will ensure $x has a numeric 0 in it even if some_func gives us an undefined value. I wonder if this impacts performance as much as a 'defined' test...?