The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more

package main;
use 5.008;
use strict;
use Test::More 0.88; # Because of done_testing();
BEGIN {
local $@ = undef;
eval {
Test::Pod::LinkCheck::Lite->import( ':const' );
1;
} or plan skip_all => 'Unable to load Test::Pod::LinkCheck::Lite';
}
Test::Pod::LinkCheck::Lite->new(
prohibit_redirect => sub {
my ( undef, undef, $url ) = @_;
and return;
return ALLOW_REDIRECT_TO_INDEX;
},
)->all_pod_files_ok(
qw{ blib eg },
);
done_testing;
1;
# ex: set textwidth=72 :