#!perl use 5.032; use warnings; use Test::More; BEGIN { if (! $ENV{CPAN_AUTHOR_TEST}) { plan skip_all => 'Author test: $ENV{CPAN_AUTHOR_TEST} false.'; } } eval { use ExtUtils::Manifest 1.72 qw{manicheck filecheck}; 1; } or do { plan skip_all => 'ExtUtils::Manifest 1.72 required.'; }; plan tests => 2; is_deeply([manicheck()], [], 'Check files in "MANIFEST" exist.'); is_deeply([filecheck()], [], 'Check for files not in "MANIFEST" or "MANIFEST.SKIP".');