Package : perl-MooseX-ConfigFromFile

Package details

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

It declares an attribute 'configfile' and a class method 'new_with_config',
and requires that concrete roles derived from it implement the class method

Attributes specified directly as arguments to 'new_with_config' supersede
those in the configfile.

License: GPL+ or Artistic

Maintainer: nobody

List of RPMs