Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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
    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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://689805]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2018-06-21 03:48 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (117 votes). Check out past polls.