Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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.

Replies are listed 'Best First'.
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 pondering the Monastery: (6)
As of 2016-08-29 08:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (399 votes). Check out past polls.