You probably want to use the
fork function, which basically creates a child process using the same perl code. There's more details on the perldoc pages as well as here on PM, but the general idea is that your parent process can create however many instances it needs and wait for them to finish via
waitpid. The children should write data to files, which the parent process can then collate and put into the final HTML file(s) that you want.
-----------------------------------------------------
Dr. Michael K. Neylon - mneylon-pm@masemware.com
||
"You've left the lens cap of your mind on again, Pinky" - The Brain