At 6:55 PM +0200 7/14/06, Dr.Ruud wrote: > > say "foo" if $x !== $y; >> >> into >> >> say "foo" unless $x === $y; > >And how about symmetry: > > say "foo" unless $y === $x; > > > very unreliable. Any equality or inequality operator is commutative, so it doesn't matter whether you have $x and $y or $y and $x, the result is the same. So you can use whichever order you want without it needing to be coded for. -- Darren DuncanThread Previous | Thread Next