Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2017-01-17 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (158 votes). Check out past polls.