http://qs321.pair.com?node_id=11110365


in reply to Re: 'xor' operator is not a sibling to 'or' and 'and'?
in thread 'xor' operator is not a sibling to 'or' and 'and'?

I can't imagine the expression result behavior of Perl's logical operators ever going away. There is a large amount of Perl idiom that bakes in that behavior so huge amounts of code would break if that changed. I'm sure the behavior isn't an accidental result of a weird coding decision, but was fully thought out with a view to allowing nice fall back processing using the logical or operators.

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
  • Comment on Re^2: 'xor' operator is not a sibling to 'or' and 'and'?