Subject: | validate pod with Test::Pod |
Proposed enhancement - test pod with Test::Pod if it is installed.
Subject: | test-pod-smoke.patch |
diff -urN Test-Smoke-1.44.orig/t/pod.t Test-Smoke-1.44.2/t/pod.t
--- Test-Smoke-1.44.orig/t/pod.t 1970-01-01 01:00:00.000000000 +0100
+++ Test-Smoke-1.44.2/t/pod.t 2011-02-11 18:07:46.000000000 +0000
@@ -0,0 +1,9 @@
+#!/usr/bin/perl -w
+
+use strict;
+use Test::More;
+
+eval "use Test::Pod 1.00";
+plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
+all_pod_files_ok();
+