Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: A way to avoid repeated conditional loops

by Not_a_Number (Parson)
on Aug 24, 2011 at 19:08 UTC ( #922175=note: print w/ replies, xml ) Need Help??


in reply to A way to avoid repeated conditional loops

Hi.

Frankly, if your dataset is as described in your OP, of all the solutions posted above, I prefer your original one!

It has two major advantages over many of the other solutions provided:

1. It works!

2 . It is extremely comprehensible.


Comment on Re: A way to avoid repeated conditional loops

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (18)
As of 2015-07-07 17:25 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 (92 votes), past polls