in reply to Accessing list of package names in a module

Simple, go for Devel::Symdump which dumps your symbol table.
For your first requirement, use packages method in that.
I think simple, and straight way
Is It ?
  • Comment on Re: Accessing list of package names in a module