![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re: Can I find out which package a subroutine is from, originally?by stephen (Priest) |
on Jan 03, 2001 at 06:22 UTC ( [id://49439]=note: print w/replies, xml ) | Need Help?? |
I'll confess that I can't test this on my box, but you might be able to use Devel::Symdump. The documentation seems to indicate that doing:
Unfortunately, I'm just going by docs here, and don't know if this will work, or if it just encapsulates what you're already doing. Good luck. Update: Tested. Doesn't work... prints out all, just like your above code. Sorry. stephen
In Section
Seekers of Perl Wisdom
|
|