The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more
|
#!/usr/bin/perl
if ( not $ENV {TEST_AUTHOR} ) {
my $msg = 'Author test. Set TEST_AUTHOR environment variable to a true value to run.' ;
plan( skip_all => $msg );
}
my $found ;
for my $dir ( split /:/, $ENV {PATH} ) {
next if !-d $dir ;
next if !-x "$dir/spell" ;
$found = 1;
last ;
}
plan skip_all => "Test::Spelling required for testing POD spelling" if $@;
plan skip_all => "spell command required for testing POD spelling" if ! $found ;
add_stopwords( qw/
nsw
hornsby
param
regen
pom
Jira
committer
committers
jira
xml
uniq
whos
/ );
all_pod_files_spelling_ok();
|