Tomohiro Teranishi > Catalyst-Plugin-Config-Multi-0.02 > Catalyst::Plugin::Config::Multi

Download:
Catalyst-Plugin-Config-Multi-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

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

SYNOPSIS ^

 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;

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.

syntax highlighting: