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

Re: fork function

2001-10-05 Thread Michael Fowler
On Fri, Oct 05, 2001 at 10:56:53AM +0200, walter valenti wrote: > i want make more connection HTTP "symoultaneus" (using LWP or SOCKET, is > the same). It's "simultaneous". :) > If i make a cicle with the request, the new request has made only where the > old request is closed > (close the so

Re: fork function

2001-10-05 Thread walter valenti
that make the request with LWP or SOCKET } dont' make symoultaneus connections but every only one connection for cicle. Thanks Walter > On Wed, Oct 03, 2001 at 11:19:09AM +0200, walter valenti wrote: > > i've some difficulty on the use of fork function. >

Re: fork function

2001-10-03 Thread Michael Fowler
On Wed, Oct 03, 2001 at 11:19:09AM +0200, walter valenti wrote: > i've some difficulty on the use of fork function. > I know that the fork function make a process child, but the i don't know > how write the code. Have you read perldoc -f fork and perldoc perlipc? What diffic

fork function

2001-10-03 Thread walter valenti
Hi, i've some difficulty on the use of fork function. I know that the fork function make a process child, but the i don't know how write the code. Thanks Walter _ Do You Yahoo!? Get your free @yahoo.com addre