Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: if variants

by demerphq (Chancellor)
on Oct 19, 2004 at 19:27 UTC ( #400642=note: print w/ replies, xml ) Need Help??


in reply to if variants

Since I havent seen this explicitly in your post i thought i should add that in many respects "if" is the same as "and".

$foo==7 and $foo++;

Likwise "or" is similar to "unless"

$foo==7 or $foo++;

---
demerphq

    First they ignore you, then they laugh at you, then they fight you, then you win.
    -- Gandhi

    Flux8



Comment on Re: if variants
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2015-07-07 06:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls