Config-Tree

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN


    package My::Library::Module;
    use My::Library::Config;
    my $anything = CONFIG("whatever");

Any code which imports My::Library::Config will use the same API
exported by Config::Tree to access the %volatile, @stack and %default
in My::Library::Config.

Config::Tree subclasses may wish to override _find to modify how the
variables are scanned and how the key is decoded.

A library should normally provide any default values which are
necessary and leave loading & saving to the application using it.


Loading configuration files
---------------------------

Configuration data is loaded into a hashref, referred to as a stash,
and inserted into a stack of stashes which are searched



( run in 0.545 second using v1.01-cache-2.11-cpan-26ccb49234f )