in reply to Re: undef-safe equalityin thread undef-safe equality
return !defined $l && !defined $r; [download]
Otherwise, two undefs will compare unequal.