in reply to Guessing source code depth with Perl.

This looks like a job for Text::Balanced. You might have to extract quoted strings first, then analyze the remaining code for curlies, but I'd start with that.

  • Comment on Re: Guessing source code depth with Perl.

Replies are listed 'Best First'.
Re^2: Guessing source code depth with Perl.
by Cap'n Steve (Friar) on Nov 21, 2007 at 19:43 UTC
    Interesting module, I'll have to read up on that.