Provided by: libcatmandu-perl_1.2019-1_all bug

NAME

       Catmandu::Env - A catmandu configuration file loader

SYNOPSIS

           use Catmandu::Env;

           my $env = Catmandu::Env->new(load_paths => [ '/etc/catmandu '] );
           my $env = Catmandu::Env->new(load_paths => [ ':up'] );

           my $store    = $env->store('mongodb');
           my $importer = $env->importer('loc');
           my $exporter = $env->exporter('europeana');
           my $fixer    = $env->fixer('my_fixes');
           my $conf     = $env->config;

DESCRIPTION

       This class loads the catmandu.*.pl, catmandu.*.json, catmandu.*.yml and catmandu.*.yaml
       file from all provided load_paths. Programmers are advised not to use this class directly
       but use the equivalent functionality provided in the Catmandu package:

            Catmandu->load('/etc/catmandu');
            Catmandu->load(':up');

            my $store    = Catmandu->store('mongodb');
            my $importer = Catmandu->importer('loc');
            my $exporter = Catmandu->exporter('europeana');
            my $fixer    = Catmandu->fixer('my_fixes');
            my $conf     = Catmandu->config;

SEE ALSO

       Catmandu