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
In reply to Re^2: extracting subroutine names (together with their packages) via PPI
by stevieb
in thread extracting subroutine names (together with their packages) via PPI
by clueless newbie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |