Name: | perl-MooseX-ConfigFromFile |
Version: | 0.14 |
Release: | 17.el8 |
Architecture: | noarch |
Group: | Unspecified |
Size: | 63724 |
License: | GPL+ or Artistic |
RPM: |
perl-MooseX-ConfigFromFile-0.14-17.el8.noarch.rpm
|
Source RPM: |
perl-MooseX-ConfigFromFile-0.14-17.el8.src.rpm
|
Build Date: | Mon Dec 16 2019 |
Build Host: | jenkins-10-147-72-125-b4e9fa10-6706-4ab7-a61e-ddbed2bd373b.appad1iad.osdevelopmeniad.oraclevcn.com |
Vendor: | Oracle America |
URL: | https://metacpan.org/release/MooseX-ConfigFromFile |
Summary: | An abstract Moose role for setting attributes from a configfile |
Description: | 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' supersede
those in the configfile. |