in reply to 'xor' operator is not a sibling to 'or' and 'and'?
covers most if not all aspects of this thread and lists languages with similar behavior. (See table entries marked "last value", like Perl, Ruby, JS, Python,...)
Quotes:
see also Re^5: 'xor' operator is not a sibling to 'or' and 'and'?
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|