DBIO-MySQL

 view release on metacpan or  search on metacpan

t/89-k8s-pod-spec.t  view on Meta::CPAN

my $manifest = 'maint/k8s/mariadb.yaml';

plan skip_all => "$script / $manifest not present (built dist)"
  unless -f $script && -f $manifest;

# The script `use`s these; only their names are needed to compile it.
$INC{'Kubernetes/REST/Kubeconfig.pm'} = __FILE__;
$INC{'IO/K8s.pm'}                     = __FILE__;

{
  local @ARGV;
  my $ok = do "./$script";
  die "loading $script failed: " . ($@ || $! || 'false return') unless $ok;
}

my $yaml = do {
  open my $fh, '<', $manifest or die "$manifest: $!";
  local $/;
  CPAN::Meta::YAML->read_string(<$fh>) or die CPAN::Meta::YAML->errstr;
};
my ($pod) = grep { ($_->{kind} // '') eq 'Pod' } @$yaml;



( run in 2.315 seconds using v1.01-cache-2.11-cpan-f5f21f1076c )