use warnings;
use Test::More;
-eval 'use Test::Spelling;';
-plan skip_all => "Test::Spelling required for testing POD spelling" if $@;
+
+use Test::Requires {
+ 'Test::Spelling' => '0.01', # skip all if not installed
+};
my @stopwords;
for (<DATA>) {