Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^2: 'xor' operator is not a sibling to 'or' and 'and'?

by GrandFather (Sage)
on Dec 18, 2019 at 23:29 UTC ( #11110365=note: print w/replies, xml ) Need Help??

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'?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11110365]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2020-09-27 04:58 GMT
Find Nodes?
    Voting Booth?
    If at first I donít succeed, I Ö

    Results (142 votes). Check out past polls.