Name : perl-Module-Pluggable-Ordered
| |
Version : 1.500.0
| Vendor : (none)
|
Release : 8pclos2017
| Date : 2017-07-13 00:48:39
|
Group : Development/Perl
| Source RPM : perl-Module-Pluggable-Ordered-1.500.0-8pclos2017.src.rpm
|
Size : 0.01 MB
| |
Packager : bb2 < bb2>
| |
Summary : Call module plugins in a specified order
|
Description :
This module behaves exactly the same as \'Module::Pluggable\', supporting all of its options, but also mixes in the \'call_plugins\' and \'plugins_ordered\' methods to your class. \'call_plugins\' acts a little like \'Class::Trigger\'; it takes the name of a method, and some parameters. Let\'s say we call it like so:
__PACKAGE__->call_plugins(\"my_method\", AATTsomething);
\'call_plugins\' looks at the plugin modules found using \'Module::Pluggable\' for ones which provide \'my_method_order\'. It sorts the modules numerically based on the result of this method, and then calls \'$_->my_method(AATTsomething)\' on them in order. This produces an effect a little like the System V init process, where files can specify where in the init sequence they want to be called.
|
RPM found in directory: /vol/rzm3/linux-pclinuxos/pclinuxos/apt/pclinuxos/64bit/RPMS.x86_64 |