I use xor at a few places in the Regexp::Common
test suite. I've two variables, one saying whether a
regexp matched, and another saying whether the regexp
should have matched. The test fails if one variable is
true, the other false. Hence, an xor.
Re: Anyone use "xor" in conditionals?
Replies are listed 'Best First'.