There is much dialogue about the use of Text::Balanced but not enough examples in the documentationThere are Text::Balanced code examples if you follow the MANIFEST link on CPAN and look at the tests (t/02_extbrk.t, etc.).
There are more code examples here at the Monastery if you use Super Search where title contains "text::balanced" (returns 12 hits).
Another search where any text contains "text::balanced" retruns many more hits.
In reply to Re: Elegant examples to parse parenthesised strings
by toolic
in thread Elegant examples to parse parenthesised strings
by back-n-black
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |