Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: parallel HTTP::Request

by suaveant (Parson)
on Jan 12, 2010 at 14:17 UTC ( #816909=note: print w/replies, xml ) Need Help??

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)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://816909]
[oiskuu]: E.g. Re^3: Big thank you to the Perl community. is surely dry humor (not mine). Don't they teach humor in german schools!?
[LanX]: you don't see the whole picture
[LanX]: But reu germans have no humor, better to refrain from this site till the troll is gone...
[LanX]: true
[shmem]: I disagree

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2017-04-27 19:55 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (512 votes). Check out past polls.