libmousex-configfromfile-perl

abstract Mouse role for setting attributes from a configfile

Description

MouseX::ConfigFromFile 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.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/MouseX-ConfigFromFile


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libmousex-configfromfile-perl