if($x && !$y && !$z or !$x && ($y xor $z)) { print "Exactly one variable set\n"; } [download]
In reply to Re: One out of three ain't bad by Anonymous Monk in thread One out of three ain't bad by saintmike