in reply to Re: Peeling the Peelings
in thread Peeling the Peelings

There's a little quirk with this:
"hello(what(is(this(all(about)))))" 4
get_proparg returned: "all(about)"
Fastpath: "all(about)))))"
"Fastpath" is your solution. It also doesn't behave very well if I $level is a higher number than there already are nested levels - unfortunatedly you never know before how many there are.

Bye
 PetaMem
    All Perl:   MT, NLP, NLU