in reply to Re^2: Perl Framework Help
in thread Perl Framework Help
Have you looked at the SYNOPSIS section of Module::Pluggable?
use MyClass; my $mc = MyClass->new(); # returns the names of all plugins installed under MyClass::Plugin +::* my @plugins = $mc->plugins();
If you blindly want to import all modules from a folder, take a look at glob and require. This is basically what Module::Pluggable does as well, but maybe you feel more confident in implementing it yourself.
|
|---|