in reply to
Is undef equal to zero
==
is numeric comparison.
Non-numeric values are 0 in numeric context (there are exceptions to this).
undef
isn't a number, therefore in numeric context, its 0.
Comment on
Re: Is undef equal to zero
Select
or
Download
Code
In Section
Seekers of Perl Wisdom