> -----Original Message----- > From: Marcia Magna [mailto:[EMAIL PROTECTED]] > Sent: Saturday, November 10, 2001 6:58 PM > To: [EMAIL PROTECTED] > Subject: Access the same hash in the parent and child process > > > Hi, > > I have a program that needs to fork. The child process > creates values in a > hash that must be seen by the parent process. > > Is there anyway to do that ?
You could use some form of shared memory. There are several modules on CPAN that can handle this. You could also use a tied hash and a module like MLDBM::Sync to coordinate access. Or, you could use pipes or other mechanisms to pass changes between parent and child. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]