in reply to Re: undef-safe equality
in thread undef-safe equality
Your second return should be:
return !defined $l && !defined $r;
Otherwise, two undefs will compare unequal.
|
---|
In Section
Seekers of Perl Wisdom