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.
| [reply] |