One way might be via PPI, you should be able to use the find method to locate all PPI::Statement::Subs.
In reply to Re: Retrieving start and end line numbers of a subroutine in a Perl file
by Anonymous Monk
in thread Retrieving start and end line numbers of a subroutine in a Perl file
by anilfunde
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |