Config-MorePerl

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Path::Class" : "0",
            "XS::Framework" : "v1.6.0",
            "XS::Install" : "v1.4.0",
            "XS::libpanda" : "v1.5.11",
            "next::XS" : "v1.0.8"
         }
      },
      "test" : {
         "requires" : {
            "Test::Deep" : "0",
            "Test::Fatal" : "0",
            "Test::More" : "0",
            "Test::Simple" : "0.96"
         }
      }
   },
   "release_status" : "stable",
   "version" : "v1.2.4",
   "x_serialization_backend" : "JSON::PP version 4.16"
}

META.yml  view on Meta::CPAN

---
abstract: 'Convenient and flexible config loader in perl format.'
author:
  - unknown
build_requires:
  Test::Deep: '0'
  Test::Fatal: '0'
  Test::More: '0'
  Test::Simple: '0.96'
configure_requires:
  Data::Recursive: v1.1.0
  Export::XS: v3.0.8
  XS::Framework: v1.6.0
  XS::Install: v1.4.0
  XS::libpanda: v1.5.11
  next::XS: v1.0.8
dynamic_config: 1

Makefile.PL  view on Meta::CPAN

use strict;
use XS::Install;

write_makefile(
    NAME          => 'Config::MorePerl',
    BIN_DEPS      => ['XS::Framework', 'Data::Recursive'],
    CCFLAGS       => '-Wall -Wextra',
    PREREQ_PM     => {'Path::Class' => 0},
    TEST_REQUIRES => {'Test::Fatal' => 0},
);

t/error.t  view on Meta::CPAN

use 5.012;
use warnings;
use Test::More;
use Test::Deep;
use Test::Fatal;
use Config::MorePerl;
use FindBin qw($Bin);

my $cfg; 

like( 
	exception {$cfg = Config::MorePerl->process($Bin.'/configs/no_such_file.conf');}, 
	qr/No such file/, 
);
is (ref($cfg),'');



( run in 1.918 second using v1.01-cache-2.11-cpan-54e63673c56 )