Subject: | pod_coverage.t causes build failure if Test::Pod::Coverage is not installed |
#File: pod_coverage.t
#!perl -T
use Test::More tests => 1;
eval "use Test::Pod::Coverage 1.04";
plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD
coverage" if $@;
pod_coverage_ok( 'Win32::FileNotify' );
#Gives the error:
# t/pod_coverage.t ...... You tried to plan twice at t/pod_coverage.t
line 5.
# Using Strawberry perl 5.10.1