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 reply to Re: how to make LWP calls compatible with forked script
by iburrell
in thread how to make LWP calls compatible with forked script
by piyush.shourie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |