Package Info

perl-MooseX-SimpleConfig


A Moose role for setting attributes from a simple configuration file


Development/Libraries/Perl

This role loads simple files to set object attributes. It is based on the abstract role the MooseX::ConfigFromFile manpage, and uses the Config::Any manpage to load your configuration file. the Config::Any manpage will in turn support any of a variety of different config formats, detected by the file extension. See the Config::Any manpage for more details about supported formats.

To pass additional arguments to the Config::Any manpage you must provide a 'config_any_args()' method, for example:

sub config_any_args { return { driver_args => { General => { '-InterPolateVars' => 1 } } }; }

Like all the MooseX::ConfigFromFile manpage -derived file loaders, this module is automatically supported by the the MooseX::Getopt manpage role as well, which allows specifying '-configfile' on the command line.


License: Artistic-1.0 or GPL-1.0+
URL: http://search.cpan.org/dist/MooseX-SimpleConfig/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.11-bp156.3.1 info GA Release 2023-07-22 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-MooseX-SimpleConfig
0.11-bp155.2.8 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-MooseX-SimpleConfig
0.11-bp154.1.17 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-MooseX-SimpleConfig
0.11-bp153.1.13 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-MooseX-SimpleConfig
0.11-bp152.3.13 info GA Release 2020-04-17 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-MooseX-SimpleConfig
0.11-bp151.3.1 info GA Release 2019-07-17 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-MooseX-SimpleConfig
0.11-bp151.2.11 info GA Release 2019-05-18 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-MooseX-SimpleConfig
0.11-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-MooseX-SimpleConfig