Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: if statement consolidation

by moritz (Cardinal)
on Jun 28, 2012 at 10:16 UTC ( #978879=note: print w/ replies, xml ) Need Help??

in reply to Re: if statement consolidation
in thread if statement consolidation

Note that the original code did not modify any of the variables unless $h has one of a list of certain values. If that's important behavior, there should be an if-statement guarding your code.

Comment on Re^2: if statement consolidation
Replies are listed 'Best First'.
Re^3: if statement consolidation
by choroba (Canon) on Jun 28, 2012 at 16:38 UTC
    Thanks, added.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2015-11-26 19:38 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (706 votes), past polls