in reply to Re: extracting subroutine names (together with their packages) via PPI
in thread extracting subroutine names (together with their packages) via PPI

Good effort!

That said, see my other response below, where I do the whole thing with PPI. I've been working on perl code parsing for two decades now, and by far, hands down the most reliable way is to use PPI.

It's a lot less code as well ;)

-stevieb

  • Comment on Re^2: extracting subroutine names (together with their packages) via PPI