Catalyst::Plugin::Config::Multi - Catalyst Config Plugin using Config::Multi
package TestApp; use strict; use warnings; use Catalyst::Runtime '5.7008'; use Catalyst qw/Config::Multi/; our $VERSION = '0.01'; __PACKAGE__->config( 'Plugin::Config::Multi' => { dir => __PACKAGE__->path_to('./../conf'), prefix => 'web', # optional app_name => 'testapp', }, ); __PACKAGE__->setup; 1;
This module load multiple config file using Config::Multi. This module is useful when your have multiple catalyst applications or CLI interface and want to share your config files.
Config::Multi
Tomohiro Teranishi <tomohiro.teranishi@gmail.com>
woremacx
vkgtaro
This module is copyright 2008 Tomohiro Teranishi.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Catalyst::Plugin::Config::Multi, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Plugin::Config::Multi
CPAN shell
perl -MCPAN -e shell install Catalyst::Plugin::Config::Multi
For more information on module installation, please visit the detailed CPAN module installation guide.