Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Anyone use "xor" in conditionals?

by Abigail-II (Bishop)
on Jul 14, 2003 at 11:07 UTC ( #273940=note: print w/ replies, xml ) Need Help??

in reply to Re: Re: Anyone use "xor" in conditionals?
in thread Anyone use "xor" in conditionals?

I use xor at a few places in the Regexp::Common test suite. I've two variables, one saying whether a regexp matched, and another saying whether the regexp should have matched. The test fails if one variable is true, the other false. Hence, an xor.


Comment on Re: Anyone use "xor" in conditionals?
Replies are listed 'Best First'.
Re: Re: Anyone use "xor" in conditionals?
by Excalibor (Monk) on Jul 14, 2003 at 14:27 UTC

    That's an elegant solution, yessir!

    Best regards,

    our $Perl6 is Fantastic;

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2015-11-26 23:30 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (709 votes), past polls