fixed parser test to skip tests when dependent modules are not installed
[p5sagit/Config-Any.git] / t / 53-perl.t
CommitLineData
572501ab 1use Test::More tests => 2;\r
2\r
3use Config::Any::Perl;\r
4\r
5my $config = eval { Config::Any::Perl->load( 't/conf/conf.pl' ) };\r
6\r
7SKIP: {\r
8 skip "Couldn't Load Perl plugin", 2 if $@;\r
9 ok( $config );\r
10 is( $config->{ name }, 'TestApp' );\r
11}\r