![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re: how to make LWP calls compatible with forked scriptby iburrell (Chaplain) |
on Sep 02, 2004 at 16:47 UTC ( #387991=note: print w/replies, xml ) | Need Help?? |
First, you aren't using threads, you are using multiple processes.
Second, why don't you create an LWP::UserAgent in each child process. Sharing the object between the processes does not share the data. It may create problems with sharing a socket or similar. Creating the object should be cheap.
In Section
Seekers of Perl Wisdom
|
|