Welcome to the Monastery | |
PerlMonks |
Re: 'xor' operator is not a sibling to 'or' and 'and'?by ikegami (Patriarch) |
on Dec 18, 2019 at 20:33 UTC ( [id://11110346]=note: print w/replies, xml ) | Need Help?? |
huh? That's exactly what or and and do (aside from evaluating logical OR and AND respectively, of course).
TRUE XOR TRUE = FALSE, so 2 xor 3 can't possibly return 3, a true value.
In Section
Seekers of Perl Wisdom
|
|