laziness, impatience, and hubris | |
PerlMonks |
Re: parallel HTTP::Requestby suaveant (Parson) |
on Jan 12, 2010 at 14:17 UTC ( [id://816909]=note: print w/replies, xml ) | Need Help?? |
aside from the my $pid = fork();
if ($pid = fork()) { next; } needs to be if ($pid = fork()) { last; } By doing next you just skip an iteration, you don't actually leave the loop.
In Section
Seekers of Perl Wisdom
|
|