HTTP-ProxyTest

 view release on metacpan or  search on metacpan

ProxyTest.pm  view on Meta::CPAN

		return undef;
	}
	unless ( index( $res->content, $args{content_substr} ) >= 0 ) {
		croak 'Argument -content_substr: The string ',
		  "'$args{content_substr}' not found in the source of $args{test_url}";
	}

	\%args
}

sub update_whitelist {
	my $whitelist = shift;
	return {} unless $whitelist;

	tie my %white, 'SDBM_File', $whitelist, O_CREAT|O_RDWR, 0666 or die $!;
	my @oldies = grep $white{$_} < $time - 604800, keys %white;
	delete @white{ @oldies };
	\%white
}

sub portselect {

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.127 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )