in reply to Re^4: Refactoring challenge.
in thread Refactoring challenge.

From browsing PM, seems like you a good place to be using Text::Balanced or maybe Parse::Recdesent. Unfortunately I'm still learning how to do this myself, so I can't help with the code.

Replies are listed 'Best First'.
Re^6: Refactoring challenge.
by BrowserUk (Patriarch) on Mar 08, 2005 at 12:57 UTC
    a good place to be using Text::Balanced or maybe Parse::Recdesent.

    Not really. You see, besides that they will only really work on a complete strings, not a partial string as here, they are so slow in use, cumbersome to learn to use, and so difficult to debug with, that I wouldn't recommend them to anyone, never mind use them myself.


    Examine what is said, not who speaks.
    Silence betokens consent.
    Love the truth but pardon error.