in reply to parallel HTTP::Request
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