NAME

App::Environ::Config - Configuration files processor for App::Environ

SYNOPSIS

use App::Environ;
use App::Environ::Config;

App::Environ::Config->register( qw( foo.yml bar.json ) );

App::Environ->send_event('initialize');

my $config = App::Environ::Config->instance;

DESCRIPTION

App::Environ::Config is the configuration files processor for App::Environ. Allows get access to configuraton tree from different application components.

The module registers in App::Environ three handlers for events initialize, reload and finalize:r.

METHODS

register( @config_sections )

The method registers configuration sections.

instance()

Gets reference to configuration tree.

SEE ALSO

App::Environ, Config::Processor

AUTHOR

Eugene Ponizovsky, <ponizovsky@gmail.com>

COPYRIGHT AND LICENSE

Copyright (c) 2016, Eugene Ponizovsky, <ponizovsky@gmail.com>. All rights reserved.

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