From: Sven Dowideit <svendowid...@fosiki.com> --- Makefile.PL | 5 ++++- t/spelling.t | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 t/spelling.t
diff --git a/Makefile.PL b/Makefile.PL index b7962f1..8d8109a 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -13,7 +13,10 @@ ExtUtils::MakeMaker::WriteMakefile( 'DIST_DEFAULT' => 'all tardist', 'COMPRESS' => "gzip -9vf" }, - 'PREREQ_PM' => { 'Test::More' => '0.9' }, + 'PREREQ_PM' => { + 'Test::More' => '0.9', + 'Test::Pod::Spelling::CommonMistakes' => '1.000' + }, ( $ExtUtils::MakeMaker::VERSION >= 6.3002 ? ( 'LICENSE' => 'perl', ) : () ), diff --git a/t/spelling.t b/t/spelling.t new file mode 100644 index 0000000..03f9e68 --- /dev/null +++ b/t/spelling.t @@ -0,0 +1,14 @@ +#!/usr/bin/perl +use strict; +use warnings; + +use Test::More; + +eval "use Test::Pod::Spelling::CommonMistakes"; +if ($@) { + plan skip_all => + 'Test::Pod::Spelling::CommonMistakes required for testing POD'; +} +else { + all_pod_files_ok(); +} -- 1.7.10.4