From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

#!perl
use strict;
use File::Basename qw(dirname);
use Test::Pod 1.22;
BEGIN {
local $SIG{__WARN__} = sub {};
Test::Pod::Spelling->import(
spelling => {
allow_words => [qw[
Konstantin Uvarin Forsyth
falsifiability
github metacpan annocpan CPAN
regex min max
diag isnt ok qr
TBD
]],
}
);
};
my $dir = dirname(__FILE__);
my $root = $dir eq '.' ? '..' : dirname($dir);
my @files = @ARGV ? @ARGV : all_pod_files("$root/lib");
foreach ( @files ) {
pod_file_spelling_ok($_);
};
done_testing;