Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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: (10)
As of 2014-09-16 21:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (49 votes), past polls