The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
unless ($ENV{'TEST_POD'}) {
    $|++;
    print "1..0 # Skipped: To enable POD test set TEST_POD=1\n";
    exit;
}

eval {
    require Test::More;
};
if ($@) {
    $|++;
    print "1..0 # Skipped: Test::More required for testing POD. Skipping.\n";
    exit;
}

eval {
    require Test::Pod;
};
if ($@ or (not defined $Test::Pod::VERSION) or ($Test::Pod::VERSION < 1.00)) {
    Test::More::plan (skip_all => "Test::Pod 1.00 required for testing POD");
    exit;
}

Test::Pod::all_pod_files_ok();