in reply to Spawing several threads

mecrazycoder:

Provide your first attempt at a script, and we'd be delighted to help you. Most of us aren't very interested in just doing your homework for you, though. Read up on threads (perldoc threads), give it a try, and see how far you can get. We'll help you when you get stuck.

...roboticus

Replies are listed 'Best First'.
Re^2: Spawing several threads
by SuicideJunkie (Vicar) on Sep 04, 2009 at 13:55 UTC

    Also, start simple.

    First grab the example code from the docs, and get that running. Then you can slowly start making it spawn more kids, and have the children do gradually more interesting things until it has grown to the point where it is doing what you wanted in the OP.

    Of course, given the description, you might just want to use a batch file instead. Copy paste 12 lines of launching background perl interpreters, and you're done.