Update - shorter:sub iseq { (!defined $_[0] || $_[0].9) eq (!defined $_[1] || $_[1].9); }
1 == keys %{{map {(!defined()||$_.9)=>1} @_}};
In reply to Re^2: undef-safe equality (shorter)
by Roy Johnson
in thread undef-safe equality
by hubb0r
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |