GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MODULE::PLUGGABLE::FAST (3)

.ds Aq ’

NAME

Module::Pluggable::Fast - Fast plugins with instantiation

CONTENTS

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.

require

If true, only require plugins.

callback

Codref to be called instead of the default instantiate callback.

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
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 FAST (3) 2009-12-25

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.