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

Re: Fork and WWW::Mechanize: Can agent be shared?

by tphyahoo (Vicar)
on Feb 20, 2007 at 13:20 UTC ( #601091=note: print w/replies, xml ) Need Help??

in reply to Fork and WWW::Mechanize: Can agent be shared?

You may find Using DBM::Deep and Parallel::ForkManager for a generalized parallel hashmap function builder (followup to "reducing pain of parallelization with FP") and/or Using functional programming to reduce the pain of parallel-execution programming (with threads, forks, or name your poison) to be helpful.

I admit however, that after playing around with different ways to get WWW::Mechanize behaving in a parallel way, eventually I gave up, shrugged, and kept doing things serially. (Parallel in my case turned out to be a bit of a premature optimization, other features were more important.)

  • Comment on Re: Fork and WWW::Mechanize: Can agent be shared?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://601091]
[shmem]: trying to build a RPM for some perl with a bunch of modules. Trying perlbrew, trying alien.
[stevieb]: finally got my 12v solar setup for my Pi/Arduino, with a 12v 7.2Ah battery. Testing how long the Pi will run on the fully charged battery before I hook it up to the solar regulator. I expect between 8 and 18 hours, depending on load.
[shmem]: ...writing a Makefile for that. Edit, test, lather, rinse, repeat.

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2017-03-25 22:21 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (313 votes). Check out past polls.