Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

module::pluggable::object(3) [osx 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)

Check Out this Related Man Page

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

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.14.2 2010-12-30 Module::Pluggable::Object(3perl)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Pls guide me in learning in Perl Module and packages

Hi, It is very urgent. Pls guide me in learning Perl Module and the Packages. Eventhough i tried in the google, I didnt get upto my expectations. Pls guide me how to create , build Module and the package. Many Thanks. (3 Replies)
Discussion started by: Yamini Thoppen
3 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

4. What is on Your Mind?

Please Welcome Simon Sweetman (Chubler_XL) to the Moderator Team

Happy Thanksgiving Holidays, Today, I am happy to welcome Simon Sweetman (Chubler_XL) to the Moderation Team to help provide us some important coverage from (Down Under) Australia. Simon is a Senior Analyst Programmer/Developer at Cedar Creek Company in Brisbane, Australia and his LinkedIn... (7 Replies)
Discussion started by: Neo
7 Replies