README
1NAME
2 Module::Pluggable::Fast - Fast plugins with instantiation
3
4SYNOPSIS
5 package MyClass;
6 use Module::Pluggable::Fast
7 name => 'components',
8 search => [ qw/MyClass::Model MyClass::View MyClass::Controller/ ];
9
10 package MyOtherClass;
11 use MyClass;
12 my @components = MyClass->components;
13
14DESCRIPTION
15 Similar to "Module::Pluggable" but instantiates plugins as soon as
16 they're found, useful for code generators like "Class::DBI::Loader".
17
18 OPTIONS
19 name
20 Name for the exported method. Defaults to plugins.
21
22 search
23 Arrayref containing a list of namespaces to search for plugins. Defaults
24 to the ::Plugin:: namespace of the calling class.
25
26AUTHOR
27 Sebastian Riedel, "sri@cpan.org"
28
29COPYRIGHT
30 This program is free software, you can redistribute it and/or modify it
31 under the same terms as Perl itself.
32
33SEE ALSO
34 Module::Pluggable
35
36