my @pods = qw( HACKERS PPPort.pm ppport.h soak devel/regenerate devel/buildperl.pl );

my $reason = '';

if ($ENV{'SKIP_SLOW_TESTS'}) { $reason = 'SKIP_SLOW_TESTS'; } else { # Try loading Test::Pod eval q{ use Test::Pod; $Test::Pod::VERSION >= 0.95 or die "Test::Pod version only $Test::Pod::VERSION"; import Test::Pod tests => scalar @pods; }; $reason = 'Test::Pod >= 0.95 required' if $@; }

if ($reason) { load(); plan(tests => scalar @pods); }

for (@pods) { print "# checking $_\n"; if ($reason) { skip("skip: $reason", 1); } else { pod_file_ok($_); } }

1 POD Error

The following errors were encountered while parsing the POD:

Around line 12:

Unknown directive: =tests