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

Re: perl threads exiting abnormally

by zentara (Archbishop)
on Nov 18, 2012 at 11:06 UTC ( #1004390=note: print w/ replies, xml ) Need Help??

in reply to perl threads exiting abnormally

It's possible that LWP::UserAgent is not threadsafe, its a complicated module, you can google for it. So why not use forks if they work? The only reason to use threads over fork is if you want to share realtime data between threads with shared variables. Sorry if that is not a satifactory answer, but Perl threads can be very tricky to use.

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Comment on Re: perl threads exiting abnormally

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2015-11-26 08:10 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (696 votes), past polls