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.
In reply to Re^6: Refactoring challenge.
by BrowserUk
in thread Refactoring challenge.
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |