Module::Pluggable::Fast - Fast plugins with instantiation
name => 'components',
search => [ qw/MyClass::Model MyClass::View MyClass::Controller/ ];
my @components = MyClass->components;
Similar to Module::Pluggable but instantiates plugins as soon as they're found, useful for code generators like Class::DBI::Loader.
Name for the exported method. Defaults to plugins.
If true, only require plugins.
Codref to be called instead of the default instantiate callback.
Arrayref containing a list of namespaces to search for plugins. Defaults to the ::Plugin:: namespace of the calling class.
Sebastian Riedel, firstname.lastname@example.org
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install Module::Pluggable::Fast, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.