| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: perl-MooseX-ConfigFromFile | Distribution: Fedora Project |
| Version: 0.14 | Vendor: Fedora Project |
| Release: 34.fc44 | Build date: Sun Jan 18 01:19:50 2026 |
| Group: Unspecified | Build host: buildvm-x86-16.rdu3.fedoraproject.org |
| Size: 62817 | Source RPM: perl-MooseX-ConfigFromFile-0.14-34.fc44.src.rpm |
| Packager: Fedora Project | |
| Url: https://metacpan.org/release/MooseX-ConfigFromFile | |
| Summary: An abstract Moose role for setting attributes from a configfile | |
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.