Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Accessing list of package names in a moduleby LanX (Saint) |
on Nov 20, 2008 at 10:03 UTC ( [id://724831]=note: print w/replies, xml ) | Need Help?? |
Just one remark for better understanding: Each imported package is listed in the so by scanning the namespaces starting from the root "main" you should find the desired infos. Packages are keys ending with a "::". you will see entries like 'Data::' => *{'::Data::'}, so recursively you can get all the infos you want.
Cheers LanX
UPDATE: Note:
In Section
Seekers of Perl Wisdom
|
|