Path to this page:
./
devel/p5-MooseX-ConfigFromFile,
Abstract Moose role for setting attributes from a configfile
Branch: pkgsrc-2012Q2,
Version: 0.03,
Package name: p5-MooseX-ConfigFromFile-0.03,
Maintainer: pkgsrc-usersThis 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]
Required to build:[
devel/p5-Module-Install]
Master sites: (Expand)
SHA1: 6af84878d9443be07df88787d0d8b4b6090df85a
RMD160: 0beb48d046a3c1fca2247a571bead7aa72edb763
Filesize: 19.604 KB
Version history: (Expand)
- (2012-07-05) Package added to pkgsrc.se, version p5-MooseX-ConfigFromFile-0.03 (created)