Just another Perl shrine | |
PerlMonks |
Re: B::Deparse and sub line numbersby toolic (Bishop) |
on Oct 29, 2012 at 14:21 UTC ( [id://1001363]=note: print w/replies, xml ) | Need Help?? |
I do not know how to convince B::Deparse (or B::Xref for that matter) to give you the starting line number. What do you plan to do with that information once you have it? Maybe the ideas in Re: 'extract' subs from source code can help. Perhaps if you poke around PPI you can figure out how to get the line numbers.
In Section
Seekers of Perl Wisdom
|
|