Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^3: if variants

by ihb (Deacon)
on Oct 21, 2004 at 14:37 UTC ( #401180=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    if (X) { ... } else { ... }
  2. or download this
    if (X) { ... } if (not X) { ... }
  3. or download this
    unless (X) { ... } else { ... }
    if (not X) { ... } if (not not X) { ... }
  4. or download this
    print ... unless $quiet; # I want to print.
    exit if $done;           # I might want to exit here.
    exit unless $stay;       # I want to exit here, but apparently
                             # something is holding me back.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://401180]
[marto]: think targeted ads
[marto]: "your house is so big, consider product XYZ", "You clean a lot, consider product ABC"
Discipulus your house is so small, accept dollars from nigeria
[marto]: Discipulus, or space saving products, that sort of thing

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2017-07-26 12:05 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (390 votes). Check out past polls.