Name : perl-MooseX-ConfigFromFile
| |
Version : 0.14
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.16.2
| Date : 2023-05-17 17:54:37
|
Group : Development/Libraries/Perl
| Source RPM : perl-MooseX-ConfigFromFile-0.14-lp155.16.2.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
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 sub-roles.
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.
the MooseX::Getopt manpage knows about this abstract role, and will use it if available to load attributes from the file specified by the command line flag \'--configfile\' during its normal \'new_with_options\'.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/15.5/noarch |