On Wed, May 22, 2002 at 03:58:05PM -0400, Patrick Gaskill wrote: > > > $a&&($a=0)||do{do_something()};
> Anyway, the second bit of code there will short-circut after > the first expression if $a is false, so everything after > "$a&&" won't get executed, leaving $a alone. But && has higher precedence than ||, so do_something() will get executed whether or not $a is false. Ronald