jpavus has asked for the wisdom of the Perl Monks concerning the following question:

My first time here and I just want to post a question. How can the parallel processing be done. e.g. 5 .pl executables and I want to run them at the same time and have a status of each and one of them whenever they finish. It will produce a file on each executables and then be rolled up in one. They will also access the oracle DB. OR Have one pl executable with parallel processing or ORAPERL cursors. It is possible to achieve a parallel queries in ORACLE but its to much hassle because of partitions and stuff than having a script that runs simultaneously. thanks

Replies are listed 'Best First'.
Re: Parallel PL execution
by Zaxo (Archbishop) on Feb 23, 2002 at 20:39 UTC

    What you want is doable with fork or and wait. You will want to call wait in list context so you can examine exit status., from the standard perl distribution, is invaluable for fine-tuning the children's environment.

    Super Search for fork and wait will land you plenty of advice to get you started.

    After Compline,

Re (tilly) 1: Parallel PL execution
by tilly (Archbishop) on Feb 23, 2002 at 22:22 UTC