http://www.perlmonks.org?node_id=816909


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.

                - Ant
                - Some of my best work - (1 2 3)