Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: if variants

by demerphq (Chancellor)
on Oct 19, 2004 at 19:27 UTC ( [id://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


Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-19 02:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found