Beefy Boxes and Bandwidth Generously Provided by pair Networks Russ
No such thing as a small change
 
PerlMonks  

Re: Anyone use "xor" in conditionals?

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

Help for this page

Select Code to Download


  1. or download this
        if ((COND1 || COND2) && !(COND1 && COND2))
    
  2. or download this
        next if -d $dir1 xor -d $dir2
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (12)
As of 2014-04-16 20:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (433 votes), past polls