Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Forking list in perl without Parallels ForkManager

by hippo (Curate)
on Apr 05, 2014 at 09:33 UTC ( #1081228=note: print w/ replies, xml ) Need Help??


in reply to Forking list in perl without Parallels ForkManager

As you say you are new to perl, here are some handy hits:

  1. use strict;
  2. use warnings;
  3. Employ a consistent indentation policy
  4. Don't refer to processes as "threads" when they aren't actually threads.

Having said that, it isn't clear from your post what your "own purposes" might be or in what way your sample code fails to address them. Nor is it clear why you aren't using Parallel::ForkManager for this when it would appear to suit the bill. Some further explanation and detailed statement of the problem would be better.


Comment on Re: Forking list in perl without Parallels ForkManager

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1081228]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2014-12-29 13:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (188 votes), past polls