minor doc update
[p5sagit/Config-Any.git] / t / 53-perl.t
1 use Test::More tests => 3;
2
3 use Config::Any::Perl;
4
5 my $file = 't/conf/conf.pl';
6 my $config = eval { Config::Any::Perl->load( $file ) };
7
8 SKIP: {
9     skip "Couldn't Load Perl plugin", 3 if $@;
10
11     ok( $config );
12     is( $config->{ name }, 'TestApp' );
13
14     my $config_2 = eval { Config::Any::Perl->load( $file ) };
15
16     is_deeply( $config_2, $config, 'multiple loads of perl configs' );
17 }