Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-08-20 14:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (116 votes), past polls