Re: fork() function in perl - a beginner's question

2004-07-15 Thread Gunnar Hjalmarsson
Gowthaman Ramasamy wrote: I have a lengthy Perl script running on a 4 processor machine. At one point of time i have to execute four shell commands / mysql quries from four different batch files. Currently i run them one after other. Can i use fork at this place so that i can fire all 4 mysql qurie

fork() function in perl - a beginner's question

2004-07-15 Thread gowthaman ramasamy
Hello list, Could any one tell me a nice tutorial to learn about fork()ing in perl. I want to accomplish following task with fork function. But i am not sure this can be done with fork()? I have a lengthy Perl script running on a 4 processor machine. At one point of time i have to execute four sh