Module::Pluggable::Object man page on Peanut

Man page or keyword search:  
man Server   7435 pages
apropos Keyword Search (all sections)
Output format
Peanut logo
[printable version]

Module::Pluggable::ObjePerl)Programmers Reference 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)."\n";

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.

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.10.0			  2007-12-18	  Module::Pluggable::Object(3)
[top]

List of man pages available for Peanut

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net