Change use threads; to use threads ( stack_size => 4096 ); See Use more threads. for the explanation.
You might also consider using LWP::Simple::getstore( $url, $file ).
In reply to Re: Perl threads to open 200 http connections
by BrowserUk
in thread Perl threads to open 200 http connections
by robrt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |