Man Page: module::pluggable::fast
Operating Environment: debian
Section: 3pm
Fast(3pm) User Contributed Perl Documentation Fast(3pm)NAMEModule::Pluggable::Fast - Fast plugins with instantiationSYNOPSISpackage MyClass; use Module::Pluggable::Fast name => 'components', search => [ qw/MyClass::Model MyClass::View MyClass::Controller/ ]; package MyOtherClass; use MyClass; my @components = MyClass->components;DESCRIPTIONSimilar 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.AUTHORSebastian Riedel, "sri@cpan.org"COPYRIGHTThis program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.SEE ALSOModule::Pluggable perl v5.10.1 2009-12-25 Fast(3pm)
| Similar Topics in the Unix Linux Community |
|---|
| Adding the individual columns of a matrix. |
| Installing Dash Shell on OS X Lion |
| How can I do this in VI editor? |
| Detecting unused variables... |
| A (ksh) Library For and From UNIX.com |