Query: module::pluggable::object
OS: mojave
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Module::Pluggable::Object(3pm) Perl Programmers Reference Guide Module::Pluggable::Object(3pm)NAMEModule::Pluggable::Object - automatically give your module the ability to have pluginsSYNOPSISSimple use Module::Pluggable - package MyClass; use Module::Pluggable::Object; my $finder = Module::Pluggable::Object->new(%opts); print "My plugins are: ".join(", ", $finder->plugins)." ";DESCRIPTIONProvides a simple but, hopefully, extensible way of having 'plugins' for your module. Obviously this isn't going to be the be all and end all of solutions but it works for me. Essentially all it does is export a method into your namespace that looks through a search path for .pm files and turn those into class names. Optionally it instantiates those classes for you. This object is wrapped by "Module::Pluggable". If you want to do something odd or add non-general special features you're probably best to wrap this and produce your own subclass.OPTIONSSee the "Module::Pluggable" docs.AUTHORSimon Wistow <simon@thegestalt.org>COPYINGCopyright, 2006 Simon Wistow Distributed under the same terms as Perl itself.BUGSNone known.SEE ALSOModule::Pluggable perl v5.18.2 2014-01-06 Module::Pluggable::Object(3pm)
Related Man Pages |
---|
module::pluggable(3pm) - mojave |
module::pluggable5.18(3pm) - mojave |
module::pluggable::object(3) - osx |
module::pluggable::object(3) - centos |
module::pluggable::object(3pm) - suse |
Similar Topics in the Unix Linux Community |
---|
Using the Pluggable API for TeamDrive |
Xataface DataGrid Module 0.2 (Default branch) |
pam_mount module 1.19 (Default branch) |
Pyro: 3.9 has been released |
Perl - DB Commits |