Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 having an uproarious good time at the Monastery: (4)
As of 2016-06-30 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (404 votes). Check out past polls.