As Corion already suggested, I'd use require to pull in the modules you need.
I would ensure plugins are installed in a special directory, outside Perl's normal @INC, which only contains plugins.
I'd write an AUTOLOAD subroutine in the main code using File::Find to determine the names of all plugin modules (and cache this information to speed up subsequent calls to AUTOLOAD), then require in any module whose name matches the plugin you are looking for.
I'm not sure how you'd deal with multiple plugins that offer similar functionality, such as Module::Offering::this and Another::Provider_of::this, but then I'm not totally clear on exactly what you want to achieve.
I hope this is useful. Of course, TIMTOWTDI!
In reply to Re: plugins and inheritance
by tomhukins
in thread plugins and inheritance
by dash2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |