File: README

package info (click to toggle)
libmodule-pluggable-fast-perl 0.18-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 112 kB
  • ctags: 17
  • sloc: perl: 112; makefile: 43
file content (35 lines) | stat: -rw-r--r-- 927 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
NAME
    Module::Pluggable::Fast - Fast plugins with instantiation

SYNOPSIS
        package MyClass;
        use Module::Pluggable::Fast
          name   => 'components',
          search => [ qw/MyClass::Model MyClass::View MyClass::Controller/ ];

        package MyOtherClass;
        use MyClass;
        my @components = MyClass->components;

DESCRIPTION
    Similar to "Module::Pluggable" but instantiates plugins as soon as
    they're found, useful for code generators like "Class::DBI::Loader".

  OPTIONS
   name
    Name for the exported method. Defaults to plugins.

   search
    Arrayref containing a list of namespaces to search for plugins. Defaults
    to the ::Plugin:: namespace of the calling class.

AUTHOR
    Sebastian Riedel, "sri@cpan.org"

COPYRIGHT
    This program is free software, you can redistribute it and/or modify it
    under the same terms as Perl itself.

SEE ALSO
    Module::Pluggable