Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Identify subs and their sourceby John M. Dlugosz (Monsignor) |
on May 24, 2011 at 22:14 UTC ( [id://906581]=note: print w/replies, xml ) | Need Help?? |
Regarding “I'm not sure how to distinguish the imported symbols from those defined in the target file.”, I've heard of something for that. This is similar to what autoclean and Moose does. I think if you use the Sub::Name module, you can find out the full name that the sub was declared in. That will tell you if it was imported.
In Section
Seekers of Perl Wisdom
|
|