pgduke65 has asked for the wisdom of the Perl Monks concerning the following question:
Monks,
I am looking for guidance regarding a solution to a requirement that I have to run through data and process it in chunks. X number at a time.
In korn shell, I would release a parenthetical group to the background and have the main program wait for the child processes to complete.
My initial research has led me to fork/exec. However, all the examples I have seen use a script for the child process. Is it possible to have a function reference execute as the child thread?
I am also looking for a solution that will run on Windows and Unix. I am assuming that this is possible in PERL?
Thank you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Child Process as a Function
by kennethk (Abbot) on Sep 01, 2014 at 02:13 UTC | |
|
Re: Child Process as a Function
by Anonymous Monk on Sep 01, 2014 at 03:17 UTC | |
|
Re: Child Process as a Function
by Anonymous Monk on Sep 01, 2014 at 11:07 UTC |