http://qs321.pair.com?node_id=106327

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

Hi, I am launching a bunch of scripts in parallel as background process using a system command and trying to capture its output in a log file. Since the script is launched multiple times in parallel the output in the log file is getting overwritten. Is there a better wat to do this. Please help.
for ($i = 0; $i <=10; $i++) { system("myscript.prl $id >> $tmp_file &"); }

Waris