Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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


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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://922175]
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: (3)
As of 2016-10-23 23:23 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.