350B; Perl | 2014-12-16 17:23:47+01 | Statements 10 | SLOC 13
1
#!perl -w
2
3
use strict;
4
use Test::Most;
5
6 1
unless($ENV{RELEASE_TESTING}) {
7
	plan(skip_all => "Author tests not required for installation");
8
}
9
10
eval 'use Test::Module::Used';
11
if($@) {
12
	plan(skip_all => 'Test::Module::Used required for testing all modules needed');
13
} else {
14
	my $used = Test::Module::Used->new(meta_file => 'MYMETA.yml');
15
	$used->ok();
16
}