Acme-PodOnly
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
},
provides => {
'Acme::PodOnly' => {
file => 'lib/Acme/PodOnly.pod',
version => '0.001003',
},
'Acme::PodOnly::NoVersion' => {
file => 'lib/Acme/PodOnly/NoVersion.pod',
},
'Acme::PodOnly::NoFile' => {
file => undef,
version => '0.001003',
},
'Acme::PodOnly::MissingFile' => {
file => 'lib/Acme/PodOnly/MissingFile.pod',
version => '0.001003',
},
},
resources => {
repository => {
url => 'https://github.com/haarg/Acme-PodOnly.git',
wanted => sub {
return
unless -f;
push @files, $_;
},
}, 'lib');
for my $file (@files) {
like $file, qr{\.pod\z}, "$file is a pod file";
my $version = MM->parse_version($file);
$version = undef
if defined $version && $version eq 'undef';
is $version, undef, "$file has no version";
}
done_testing;
( run in 1.453 second using v1.01-cache-2.11-cpan-d80b1682f3f )