http://www.perlmonks.org?node_id=813573


in reply to Re^2: Hints Towards Writing a Module with New Operators
in thread Hints Towards Writing a Module with New Operators

Or

  1. .NEQV. ~= $a ^ $b
  2. .EQV. ~= !($a ^ $b)

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^4: Hints Towards Writing a Module with New Operators
by JadeNB (Chaplain) on Dec 20, 2009 at 01:13 UTC
    Those aren't the same:
    !(2 xor 1); # => 1 !(2 ^ 1); # => 0

      You're right of course.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.