opnsense-ports/devel/p5-Module-Pluggable/pkg-descr
Franco Fichtner eb791ae428 devel/p5-Module-Pluggable: sync with upstream
Taken from: HardenedBSD
2018-05-28 08:16:42 +02:00

11 lines
423 B
Text

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.
WWW: https://metacpan.org/release/Module-Pluggable