I've been given the task of writing a basic meta search engine that will query 10 search engines and return the results in formatted html. I'm using LWP::Request, and instead of having it complete them sequentially I want to fork them off and have them off so the results appear much quicker. I know this would be done in threads in C++ but I'm a novice at that and would prefer to use perl. I've tried to fork it off into 10 different parts but I can't get it to spawn only 10, I've played around with fork and the manpages for 2 days now with no avail, all that happens is it spawns process' until its out of memory and crashes. Is it even possible to use fork to mimick threading?
-Chrs Miseresky
TesliaNET, Inc.