Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 lurking in the Monastery: (3)
As of 2014-07-29 02:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls