Package Info

perl-Object-Pluggable


Base Class for Creating Plugin-Enabled Objects


Development/Libraries/Perl

Object::Pluggable is a base class for creating plugin enabled objects. It is a generic port of POE::Component::IRC's plugin system.

If your object dispatches events to listeners, then Object::Pluggable may be a good fit for you.

Basic use would involve subclassing Object::Pluggable, then overriding '_pluggable_event()' and inserting '_pluggable_process()' wherever you dispatch events from.

Users of your object can then load plugins using the plugin methods provided to handle events generated by the object.

You may also use plugin style handlers within your object as '_pluggable_process()' will attempt to process any events with local method calls first. The return value of these handlers has the same significance as the return value of 'normal' plugin handlers.


License: Artistic-1.0 or GPL-1.0+
URL: http://search.cpan.org/dist/Object-Pluggable/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.29-bp156.3.1 info GA Release 2023-07-22 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Object-Pluggable
1.29-bp155.2.9 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Object-Pluggable
1.29-bp154.1.19 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Object-Pluggable
1.29-bp153.1.14 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Object-Pluggable
1.29-bp152.3.13 info GA Release 2020-04-16 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Object-Pluggable
1.29-bp151.3.1 info GA Release 2019-07-17 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Object-Pluggable
1.29-bp151.2.11 info GA Release 2019-05-18 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Object-Pluggable
1.29-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Object-Pluggable