Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Concurrent LWP usage

by simul (Novice)
on Dec 07, 2009 at 16:36 UTC ( #811541=note: print w/replies, xml ) Need Help??

in reply to Re: Concurrent LWP usage (aka: LWP::PUA?)
in thread Parallel LWP usage

One solution is to use WWW::Curl::Simple. Here's everything I needed to convert:
#my $ua = LWP::Parallel::UserAgent->new; package CurlToes; use base 'WWW::Curl::Simple'; sub timeout {return 20;} sub fatal {return 0;} package main; my $ua = CurlToes->new();
Unfortunately, it's a bear of an install, requiring arcane things like "Moose". I never like having to install 24 modules on a machine, just to post to a few dozen urls in parallel... but it works... and it's the closest you'll get to a drop-in replacement for LWP::Parallel;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://811541]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2020-10-27 15:57 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (257 votes). Check out past polls.