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

Re: if variants

by Chady (Priest)
on Oct 19, 2004 at 11:53 UTC ( [id://400480]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($i > 1 ) {
        if ($a = function_that_may_fail()) {
    ...
            $i = 1;
        }
    }
    
  2. or download this
    $i > 1 and $a = function_that_may_fail() and $i++ or $i = 1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://400480]
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: (5)
As of 2024-03-28 23:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found