Config-Auto

 view release on metacpan or  search on metacpan

t/05_rt69984.t  view on Meta::CPAN

use strict;
use warnings;
use Config::Auto;
use File::Spec;
use Test::More 'no_plan';

BEGIN { chdir 't' if -d 't'; }

my $expecting = {
  'backup.jobs.list' => [
             'production',
             'development',
             'infrastructure',
             'jaguararray'
  ],
  'foo' => 'bar'
};

my $ca = Config::Auto->new(
  source => File::Spec->catfile( 'src', '05_rt69984.conf' ),

t/src/05_rt69984.conf  view on Meta::CPAN

# A list of defined backup jobs
backup.jobs.list                = production development infrastructure jaguararray

foo                             = bar



( run in 1.147 second using v1.01-cache-2.11-cpan-49f99fa48dc )