if ($Module::Install::AUTHOR) {
author_requires 'Test::Pod' => 1.14;
author_requires 'Test::Pod::Coverage' => 1.04;
-
+ author_requires 'Test::Spelling' => 0.11;
if ($^O eq 'darwin') {
my $osx_ver = `/usr/bin/sw_vers -productVersion`;
chomp $osx_ver;
--- /dev/null
+#!perl
+
+use Test::More;
+use Test::Pod::Coverage 1.04;
+all_pod_coverage_ok();
+
--- /dev/null
+#!perl
+
+use Test::More;
+use Test::Pod 1.14;
+all_pod_files_ok();
+
--- /dev/null
+#!perl -w
+use strict;
+use warnings;
+use Test::More;
+
+use Test::Spelling 0.11;
+
+set_spell_cmd('aspell list');
+
+add_stopwords( grep { defined $_ && length $_ } <DATA>);
+
+all_pod_files_spelling_ok();
+
+__DATA__
+XHTML
+TT
+Doran
+Dorward
+rafl
+ContentNegotiation
+Ragwitz
+firefox
+++ /dev/null
-#!perl -T
-
-use Test::More;
-eval "use Test::Pod::Coverage 1.04";
-plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;
-all_pod_coverage_ok();
+++ /dev/null
-#!perl -T
-
-use Test::More;
-eval "use Test::Pod 1.14";
-plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
-all_pod_files_ok();
+++ /dev/null
-#!perl -w
-use strict;
-use warnings;
-use Test::More;
-
-eval 'use Test::Spelling 0.11';
-plan skip_all => 'Test::Spelling 0.11 not installed' if $@;
-plan skip_all => 'set TEST_SPELLING to enable this test' unless $ENV{TEST_SPELLING};
-
-set_spell_cmd('aspell list');
-
-add_stopwords( grep { defined $_ && length $_ } <DATA>);
-
-all_pod_files_spelling_ok();
-
-__DATA__
-XHTML
-TT
-Doran
-Dorward
-rafl
-ContentNegotiation
-Ragwitz
-firefox