./devel/p5-MooseX-ConfigFromFile, Abstract Moose role for setting attributes from a configfile

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2020Q1, Version: 0.14nb4, Package name: p5-MooseX-ConfigFromFile-0.14nb4, Maintainer: pkgsrc-users

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.


Required to run:
[devel/p5-Moose] [devel/p5-MooseX-Types] [devel/p5-namespace-autoclean]

Required to build:
[devel/p5-Test-Without-Module] [devel/p5-Test-Deep] [devel/p5-Test-Requires] [devel/p5-Test-NoWarnings]

Master sites: (Expand)

SHA1: 4fef8f3230b6a361fb93fc4afda74e8dd58fd264
RMD160: bd7cd6f70ca8494c6c3347bede9e0d4e73ef5b9b
Filesize: 30.547 KB

Version history: (Expand)