Have you looked into POE. Although I have not used it (for anything except little tests) and have only seen a demonstration on it, it looks like a good fit for your problem. You can easily feed you array to several different handlers (that will fork off for you).

The notes on the demo that I saw are at http://tilderoot.com/~tcaine/poe. This should at least give you an idea if you want to use POE



grep
Just me, the boy and these two monks, no questions asked.

In reply to Re: Quicker array processing by grep
in thread fork() and batch processing mail (was: Quicker array processing) by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":