Not sure if this is the right list for this - if it's not, please direct me to the proper list.
Anyway, I'm trying to get my hands around forking, and was hoping you all could help me out. Basically, I'm trying to find a way to fire off a remote script on numerous boxes in parallel, returning their results to the parent script. Here's the basic flow I'm after: 1. User brings up web page for an on-demand report. Provides user input, hits submit, which fires off the parent script. 2. Parent script takes user input, and fires off a remote script located on all servers provided by user input. 3. Remote scripts return results to an array in the parent script. 4. Parent script compiles results and formats output for web display. The process currently works, but runs each remote server in series, which takes a considerable amount of time. I've had a hell of a time finding a good explanation of forking, and I only seem to be able to figure out how to fork one process at a time. I'm also unsure if the parent can utilize variables populated in a child, or if they're completely independent after the fork. Anyone have any advice, input, or code snippets for me? Thanks. Jason -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>