Remove -T as that stops my perl finding my local::lib, ergo I don't find pod coverage...
t0m [Wed, 8 Jul 2009 19:43:08 +0000 (20:43 +0100)]
t/pod-coverage.t

index 703f91d..6162d83 100644 (file)
@@ -1,6 +1,15 @@
-#!perl -T
+#!perl
 
 use Test::More;
-eval "use Test::Pod::Coverage 1.04";
+eval "use Test::Pod::Coverage 1.08";
+warn $@ if $@;
 plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;
-all_pod_coverage_ok();
+
+my @modules = grep { ! /::Traits?::/ } all_modules();
+
+plan tests => scalar(@modules);
+
+foreach my $module (@modules) {
+    pod_coverage_ok($module);
+}
+