Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: if variants

by ihb (Deacon)
on Oct 21, 2004 at 14:37 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-19 15:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found