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)
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)
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)