Catalyst::Plugin::Config::YAML - Configure your Catalyst application via an


Catalyst-Plugin-Config-YAML documentation  | view source Contained in the Catalyst-Plugin-Config-YAML distribution.

Index


NAME

Top

Catalyst::Plugin::Config::YAML - Configure your Catalyst application via an external YAML file

SYNOPSIS

Top

    use Catalyst 'Config::YAML';

    __PACKAGE__->config('config_file' => 'config.yml');

DESCRIPTION

Top

This Catalyst plugin enables you to configure your Catalyst application with an external YAML file instead of somewhere in your application code.

This is useful for example if you want to quickly change the configuration for different deployment environments (like development, testing or production) without changing your code.

The configuration file is assumed to be in your application home. Its name can be specified with the config parameter config_file (default is config.yml).

The config parameter config_file can also be an array of locations (relative or absolute), each found file will be loaded in order.

EXTENDED METHODS

setup

SEE ALSO

Top

Catalyst, YAML.

AUTHOR

Top

Bernhard Bauer, <bauerb@in.tum.de>

COPYRIGHT AND LICENSE

Top


Catalyst-Plugin-Config-YAML documentation  | view source Contained in the Catalyst-Plugin-Config-YAML distribution.