On 15/07/04 14:03 +0530, gowthaman ramasamy wrote: > Hello list, > Could any one tell me a nice tutorial to learn about fork()ing in perl.
perldoc perlipc perldoc -f fork > 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 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 quries > simultaneously and collect the results back to main process. You could do this with fork() in Perl. With a suitably recent Perl, you can also use threads. <snip> > NOTE : I dont want to use Perl-DBI. Why not? Devdas Bhagat ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
