Re: How to update value of global variable from child process (fork)

2007-10-10 Thread Jeff Pang
2007/10/10, dinesh <[EMAIL PROTECTED]>: > > Issue here is: The global associative array is not getting updated in > the child process. Please suggest me how to do this. childs and parent are separte,things changed on each process can't affect another. Say you have @global in parent,after forking,

Re: How to update value of global variable from child process (fork)

2007-10-10 Thread John W. Krahn
dinesh wrote: Hi, Hello, Subject: How to update value of global variable from child process (fork) The child and parent are separate processes so you have to use some type of InterProcess Communication to update values between them. perldoc perlipc John -- Perl isn't a toolbox,

How to update value of global variable from child process (fork)

2007-10-10 Thread dinesh
Hi, We need to run test in multiple test cycles and in each test cycle multiple operations need to be performed. Currently one test cycle is taking 10 seconds and we need to reduce the time to 4 seconds. I have used fork() to do this as follows (only one operation is given here). I will update the