FreeBSD.software
Home/devel/p5-Module-Pluggable

p5-Module-Pluggable

5.2devel

Automatically give your module the ability to have plugins

Module::Pluggable 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.

$pkg install p5-Module-Pluggable
metacpan.org/release/Module-Pluggable
Origin
devel/p5-Module-Pluggable
Size
42.0KiB
License
ART10, GPLv1+
Maintainer
sunpoet@FreeBSD.org
Dependencies
1 packages
Required by
46 packages

Dependencies (1)

Required By (46)