go ahead... be a heretic | |
PerlMonks |
Re: How to get line ranges of subroutines from Perl source codeby LanX (Saint) |
on Apr 16, 2014 at 06:34 UTC ( [id://1082431]=note: print w/replies, xml ) | Need Help?? |
The only way I'm aware of is scanning for curlies in the source around the known limits. You will need to ignore comments-lines and POD in between.
Cheers Rolf ( addicted to the Perl Programming Language)
In Section
Seekers of Perl Wisdom
|
|