Otherwise,if ( ($ret->{val1}||"") eq ($this->{val1}||"") ) ...
if ( defined($ret->{val1}) == defined($this->{val1}) && ($ret->{val1}||"") eq ($this->{val1}||"") ) ...
In reply to Re: undef-safe equality
by ysth
in thread undef-safe equality
by hubb0r
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |