Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Multi Threading in perl sample code

by sundialsvc4 (Abbot)
on Nov 05, 2012 at 15:20 UTC ( #1002340=note: print w/replies, xml ) Need Help??

in reply to Multi Threading in perl sample code

Since you’re using Unix, do it “the Unix way.”   Write a script that does its part, then invoke as many parallel-executing copies of that script from another script or the command-line.   The program does not take on all the fancy-pants work of doing everything:   the shell does; the user does.   Each instance of the worker-bee (Perl) script simply finds another unit of work to do and does it, running until it finds no more work to do.   It has no awareness of any program other than itself.

  • Comment on Re: Multi Threading in perl sample code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002340]
LanX reigned by the Duke of Normandy
[davies]: LanX: Politicians making jobs for each other, really. Results in unnecessary complications and tax bills with up to 5 levels of Govt busily inventing new crimes for people to commit.
[james28909]: politicians making jobs for themselves? that is absurd! we all know how hard those politicians have it, having to take millions from lobbiest while screwing over their citizens. have a little sympathy why dont ya!

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2017-12-15 18:27 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (441 votes). Check out past polls.