8' forward_compatible => 1;
my $meta = CPAN::Meta->load_file('META.json'); # or META.yml
plan skip_all => 'No META.json' if ! $meta;
my @files = File::Find::Rule::Perl->perl_files->in('.
g_dep = $@;
}
die $missing_dep if $missing_dep;
my $meta;
for my $file (qw/ META.json META.yml /) {
if (-r $file) {
$tb->ok(1, "$file is present and readable");
}
}
if (! $meta) {
$tb->level(2);
$tb->ok(0, "Missing META.{yml,json} file for dependency checking");
$tb->diag("Use the non-legacy invocation to provide the