maard has asked for the wisdom of the Perl Monks concerning the following question:
I'm wondering, if there's any way to find out what packages have been compiled by now?
The task I was solving, is to find all packages, whose name start with Foo::.
Wrong solution: to require all Foo/*.pm modules. What if module contains more than one package? Or when package has been evaled at runtime?
For now I place each package in separate module, but the question still remains.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: What packages are compiled?
by PodMaster (Abbot) on Dec 08, 2005 at 10:42 UTC | |
Re: What packages are compiled?
by rinceWind (Monsignor) on Dec 08, 2005 at 13:42 UTC | |
by maard (Pilgrim) on Dec 10, 2005 at 13:06 UTC |