No, that's completely wrong. The reason $TRUE and $TRUE doesn't necessarily return 1 has nothing to do with why $TRUE xor $TRUE doesn't return 1.
$TRUE and $TRUE doesn't necessarily return 1 because it's more useful to return its RHS.
$TRUE xor $TRUE doesn't return 1 because that would be wrong.
In reply to Re^3: 'xor' operator is not a sibling to 'or' and 'and'?
by ikegami
in thread 'xor' operator is not a sibling to 'or' and 'and'?
by rsFalse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |