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
I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
|
---|
In Section
Seekers of Perl Wisdom