• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

t/H25-Dec-2009-14371

ChangesH A D25-Dec-2009837 3624

Fast.pmH A D25-Dec-20094.1 KiB16086

MANIFESTH A D25-Dec-2009300 1716

META.ymlH A D25-Dec-2009529 2322

Makefile.PLH A D25-Dec-2009193 86

READMEH A D25-Dec-2009927 3626

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