Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: if statements

by Mr. Muskrat (Canon)
on Jun 16, 2002 at 14:36 UTC ( [id://174925]=note: print w/replies, xml ) Need Help??


in reply to if statements

Something else that should be mentioned... You can reverse if statements:

++$node if $votes > 0;

Replies are listed 'Best First'.
Re: Re: if statements
by PapaLoach (Novice) on May 09, 2003 at 04:03 UTC
    Please supply an example of your reverse if statement syntax... PL
      That is a reversal of the "usual" if at the front of the statement.
        Sorry about that I must have overlooked the example ;) Analogy on life in the ireal/i world: "Sometimes you're the drill, Sometimes you're the hole...Either way you're still screwed.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2025-06-12 15:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.