in reply to Re^2: Do people find warning for undef with string compare useful?
in thread Do people find warning for undef with string compare useful?
Then maybe you want 3-value-logic ?
http://blogs.perl.org/users/ovid/2013/02/three-value-logic-in-perl.html
http://en.wikipedia.org/wiki/Three-valued_logic