From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

Catalyst::Plugin::Config::Multi - Catalyst Config Plugin using Config::Multi

SYNOPSIS

package TestApp;
use strict;
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;

DESCRIPTION

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.

METHODS

setup

SEE ALSO

Config::Multi

AUTHOR

Tomohiro Teranishi <tomohiro.teranishi@gmail.com>

THANKS

woremacx

vkgtaro

COPYRIGHT

This module is copyright 2008 Tomohiro Teranishi.

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.