I have 10,000 files. I want to pass this files to perl program (one by one) for computation. Resultes are Independent, writes to a common file. Can anyone suggest me any POE Samples for Running Parallel programs on this specific requirement. Should I go for threads otherwise ? If so, which is better ?