in reply to Re: How to get line ranges of subroutines from Perl source code
in thread How to get line ranges of subroutines from Perl source code

Old thread, I know, but this is *EXACTLY* the baseline I've needed to find for a project I'm currently working on.

If you add:

my $name = $sub->name; print "Found $name starting at line "...

One gets the actual name of the sub too.

Thanks!

-stevieb