An abstract Mouse role for setting attributes from a configfile
http://search.cpan.org/dist/MouseX-ConfigFromFile
This is an abstract role which provides an alternate constructor for
creating objects using parameters passed in from a configuration file. The
actual implementation of reading the configuration file is left to
concrete subroles.
It declares an attribute "configfile" and a class method
"new_with_config", and requires that concrete roles derived from it
implement the class method "get_config_from_file".
Attributes specified directly as arguments to "new_with_config" supercede
those in the configfile.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Backports:SLE-15-SP6/perl-MouseX-ConfigFromFile && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
MouseX-ConfigFromFile-0.05.tar.gz | 0000022415 21.9 KB | |
perl-MouseX-ConfigFromFile.changes | 0000000430 430 Bytes | |
perl-MouseX-ConfigFromFile.spec | 0000002408 2.35 KB |
Latest Revision
Yuchen Lin (maxlin_factory)
committed
(revision 3)
branch from Backports SP5
Comments 0