leocharre has asked for the wisdom of the Perl Monks concerning the following question:
I have MyModule.pm, which would like to know what's inside MyModule/Plugins/, or.. MyModule::Plugins::
How do I do this?
Obviously, the idea is to automatically load plugins available for this program. So that I can code MyModule::Plugin::Banana in a package apart, and if it's installed, it will be used by MyModule.
Should I do this with find (via the filesystem)? It seems brute to do that..
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to see what is available in Module::Namespace::*
by ikegami (Patriarch) on Sep 21, 2009 at 18:50 UTC | |
|
Re: How to see what is available in Module::Namespace::*
by Joost (Canon) on Sep 21, 2009 at 18:42 UTC | |
by ikegami (Patriarch) on Sep 21, 2009 at 19:45 UTC |