Load config files of various types

Edit Package perl-Catalyst-Plugin-ConfigLoader
http://search.cpan.org/dist/Catalyst-Plugin-ConfigLoader/

This module will attempt to load find and load a configuration file of
various types. Currently it supports YAML, JSON, XML, INI and Perl formats.
Special configuration for a particular driver format can be stored in
'MyApp->config->{ 'Plugin::ConfigLoader' }->{ driver }'. For example, to
pass arguments to the Config::General manpage, use the following:

__PACKAGE__->config( 'Plugin::ConfigLoader' => {
driver => {
'General' => { -LowerCaseNames => 1 }
}
} );

See the Config::Any manpage's 'driver_args' parameter for more information.

To support the distinction between development and production environments,
this module will also attemp to load a local config (e.g. myapp_local.yaml)
which will override any duplicate settings. See /get_config_local_suffix
for details on how this is configured.

Refresh
Refresh
Source Files
Filename Size Changed
Catalyst-Plugin-ConfigLoader-0.35.tar.gz 0000021901 21.4 KB
cpanspec.yml 0000000669 669 Bytes
perl-Catalyst-Plugin-ConfigLoader.changes 0000001524 1.49 KB
perl-Catalyst-Plugin-ConfigLoader.spec 0000002850 2.78 KB
Comments 0
openSUSE Build Service is sponsored by