The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
use Test::More 0.98;

use HTTP::SimpleLinkChecker;

subtest http => sub {
	try_it( 'http://blogs.perl.org/' );
	};

subtest https => sub {
	try_it( 'https://www.perl.org/' );
	};

done_testing();


sub try_it {
	my $code = HTTP::SimpleLinkChecker::check_link($_[0]);
	is( $code, 200, "I can talk to $_[0]!" );
	}