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

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


Branch: pkgsrc-2011Q1, Version: 0.02nb2, Package name: p5-MooseX-ConfigFromFile-0.02nb2, 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:
[lang/perl5] [devel/p5-Moose] [devel/p5-MooseX-Types-Path-Class]

Required to build:
[devel/p5-Module-Install]

Master sites: (Expand)

SHA1: 4da080e6a4a5b44acabbaa71db018af105aeaf3b
RMD160: 117aa4f81730f68e6221c62e6ff655c5c38c9e9d
Filesize: 19.968 KB

Version history: (Expand)