in reply to == and != don't work as expected
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: == and != don't work as expected
by davorg (Chancellor) on Aug 09, 2004 at 15:37 UTC | |
|
Re^2: == and != don't work as expected
by PodMaster (Abbot) on Aug 09, 2004 at 17:12 UTC | |
|
Re^2: == and != don't work as expected
by TomDLux (Vicar) on Aug 10, 2004 at 01:17 UTC |