Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

module::pluggable::object(3pm) [mojave man page]

Module::Pluggable::Object(3pm)				 Perl Programmers Reference Guide			    Module::Pluggable::Object(3pm)

NAME
Module::Pluggable::Object - automatically give your module the ability to have plugins SYNOPSIS
Simple use Module::Pluggable - package MyClass; use Module::Pluggable::Object; my $finder = Module::Pluggable::Object->new(%opts); print "My plugins are: ".join(", ", $finder->plugins)." "; DESCRIPTION
Provides 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. OPTIONS
See the "Module::Pluggable" docs. AUTHOR
Simon Wistow <simon@thegestalt.org> COPYING
Copyright, 2006 Simon Wistow Distributed under the same terms as Perl itself. BUGS
None known. SEE ALSO
Module::Pluggable perl v5.18.2 2014-01-06 Module::Pluggable::Object(3pm)

Check Out this Related Man Page

Module::Pluggable::Object(3)				User Contributed Perl Documentation			      Module::Pluggable::Object(3)

NAME
Module::Pluggable::Object - automatically give your module the ability to have plugins SYNOPSIS
Simple use Module::Pluggable - package MyClass; use Module::Pluggable::Object; my $finder = Module::Pluggable::Object->new(%opts); print "My plugins are: ".join(", ", $finder->plugins)." "; DESCRIPTION
Provides 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. OPTIONS
See the "Module::Pluggable" docs. AUTHOR
Simon Wistow <simon@thegestalt.org> COPYING
Copyright, 2006 Simon Wistow Distributed under the same terms as Perl itself. BUGS
None known. SEE ALSO
Module::Pluggable perl v5.16.2 2013-08-25 Module::Pluggable::Object(3)
Man Page

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl - DB Commits

Hello, I have a problem with DB handling in Perl. Module 1 ---calls--> Module 2 Module 1 creates a DB Connection and passes the DB handle to Module2. In module 2, I perform some Selects and Updates using this DB Handle. Now Selects are ok....but after Update, when I give... (0 Replies)
Discussion started by: angad.makkar
0 Replies

2. OS X (Apple)

Right-Click scripts and programs in finder

How can I add a right-click option where I can add my own programs and script to finder? (4 Replies)
Discussion started by: codecaine
4 Replies

3. Fedora

Problem with Installing Perl Module in Fedora 20

(15 Replies)
Discussion started by: zak100
15 Replies