Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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

by jcb (Vicar)
on Dec 19, 2019 at 23:38 UTC ( #11110404=note: print w/replies, xml ) Need Help??

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

An if {} then {} construct exists in Tcl, where then is an optional noise word, but Tcl has no equivalent to Perl's xor operator, so his comparison is still bogus. The Perl equivalent would be if () {} which is only seven characters (and Tcl accepts an equivalent if {} {} syntax) but it is still wrong because our questioner is talking about using xor as another type of fat comma in contexts where an actual comma or fat comma would cause perl's parser to extract an unintended meaning for the expression.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2020-10-23 03:28 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (234 votes). Check out past polls.