Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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 drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2015-10-09 04:10 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (233 votes), past polls