Dave Smith wrote: > $x = ( $y == 1 ); Oh, and as an addendum, I highly recommend aggressive use of parentheses to help convey meaning to readers (like my example above shows), not to mention to avoid pitfalls with funky order-of-operations. --Dave