in reply to Checking links with LWP::UserAgent
There's nothing wrong with your code per-se. Its just that it is checking each site sequentially; which requires a DNS lookup for each site, connect to each site, etc... What you need to do to improve performance is to be able to check multiple sites in parallel. Fortunately, there is a module that extends LWP for just this type of situation: LWP::Parallel.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Checking links with LWP::UserAgent
by wilstephens (Acolyte) on Feb 26, 2002 at 13:51 UTC | |
Re: Re: Checking links with LWP::UserAgent
by webfiend (Vicar) on Feb 26, 2002 at 23:49 UTC | |
Re: Re: Checking links with LWP::UserAgent
by wilstephens (Acolyte) on Mar 08, 2002 at 10:37 UTC | |
by lhoward (Vicar) on Mar 08, 2002 at 17:27 UTC |
In Section
Seekers of Perl Wisdom