在书签上运行';链接检查';,共2个
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了在书签上运行';链接检查';,共2个相关的知识,希望对你有一定的参考价值。
source for perl file that is step 2
#!/usr/bin/perl use HTTP::Request; my $pua = LWP::Parallel::UserAgent->new(); $pua->in_order (1); # handle requests in order of registration $pua->duplicates(0); # ignore duplicates $pua->timeout (8); # in seconds $pua->redirect (1); # follow redirects $pua->max_hosts(5); # sets maximum number of locations accessed in parallel $pua->max_req (5); # sets maximum number of parallel requests per host my(@reqs) = <>; # read input file from step 1 foreach my $req (@reqs) { # print "Registering $req "; if ( my $res = $pua->register (HTTP::Request->new('GET', $req) ) ) { } } my $res = $entries->{$_}->response; $res->message," "; }
以上是关于在书签上运行';链接检查';,共2个的主要内容,如果未能解决你的问题,请参考以下文章
039:cesium加载Natural Earth II地图