in reply to Peeling the Peelings
I think &Text::Balanced::extract_multiple does what you want.
After Compline,Zaxo
Bye PetaMem All Perl: MT, NLP, NLU