Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2016-10-22 00:57 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.