Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: if variants

by Chady (Priest)
on Oct 19, 2004 at 11:53 UTC ( #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
Node Status?
node history
Node Type: note [id://400480]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2015-08-29 14:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (343 votes), past polls