12345 use Test::More;eval "use Test::CPAN::Meta";plan skip_all => "Test::CPAN::Meta required for testing META.yml" if $@;plan skip_all => "There is no META.yml" unless -f "META.yml";meta_yaml_ok();
use
Test::More;
eval
"use Test::CPAN::Meta"
;
plan
skip_all
=>
"Test::CPAN::Meta required for testing META.yml"
if
$@;
"There is no META.yml"
unless
-f
"META.yml"
meta_yaml_ok();