in reply to Why is this evaluating to true?

It seems to me that if a statement is wrong, it should not evaluate to true, what am I missing here?
What's your definition of wrong? I can think of at least three: In your case, you used the wrong logic. Perl is kindly enough to warn you "are you sure you want this?", but it has no grounds to declare anything wrong, so it just shoulders on bravely.