in reply to Re^3: Burned by precedence rules (== true)
in thread Burned by precedence rules
I'm sure i shouldnt say this, but more than once I have written
if ( !$x == !$y ) { ... } if ( !$x != !$y ) { ... }
which I think is a fair exception to your rule. I kinda view ! and !! as "boolean constructors", and so long as both sides of your (in)equality are guaranteed to be a "boolean" obtained one of these constructors you can compare them.
But I'm really just nit-picking. :-)
---
$world=~s/war/peace/g
$world=~s/war/peace/g
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Burned by precedence rules (== true)
by ikegami (Patriarch) on Dec 30, 2008 at 20:09 UTC | |
by TimToady (Parson) on Dec 30, 2008 at 20:49 UTC | |
by tye (Sage) on Dec 31, 2008 at 02:14 UTC | |
by TimToady (Parson) on Dec 31, 2008 at 03:17 UTC | |
by tilly (Archbishop) on Dec 31, 2008 at 03:58 UTC | |
by tye (Sage) on Dec 31, 2008 at 03:47 UTC | |
by demerphq (Chancellor) on Dec 31, 2008 at 00:01 UTC |
In Section
Meditations