Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: One for the weekend: challenge

by BrowserUk (Pope)
on Jun 03, 2008 at 04:14 UTC ( #689805=note: print w/ replies, xml ) Need Help??


in reply to Re: One for the weekend: challenge
in thread One for the weekend: challenge

This produces correct output quite efficiently.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re^2: One for the weekend: challenge
Re^3: One for the weekend: challenge
by sparkylu (Monk) on Jun 03, 2008 at 10:50 UTC
    So which solution matched up to your expectations the best? I haven't tried all of them yet... waiting for my next break.
Re^3: One for the weekend: challenge
by Limbic~Region (Chancellor) on Jun 03, 2008 at 18:22 UTC
    BrowserUk,
    Here is the same code re-written to be more clear and maintainable. I still think the handful of special case scenarios could be reduced to a more general case. Unfortunately, I don't have time to try.

    Cheers - L~R

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-04-17 01:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (437 votes), past polls