Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: if statements

by Mr. Muskrat (Abbot)
on Jun 16, 2002 at 14:36 UTC ( #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;


Comment on Re: if statements
Download Code
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
Node Status?
node history
Node Type: note [id://174925]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2015-07-06 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (83 votes), past polls