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

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://816909]
help
Chatterbox?
[choroba]: It's just troll feeding.
[beech]: of course the magic word that explains everything :p
[erix]: they should lean to gnash their teeth a bit instead of writing more ^Re:NN-nodes :)
[erix]: *learn

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2017-01-17 23:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (159 votes). Check out past polls.