I was confused when 'two' != 'one' returned a false value in my program. I agree that 'two' == 'two' returns a true value.
I understand that this semantics is consistent.
When developing a complex Perl program, I would prefer for 'two' != 'one' to die, rather than return false. IMHO, the current behavior is not always desirable.
Sorry.
In reply to Re: == and != don't work as expected
by esharris
in thread == and != don't work as expected
by esharris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |