I'm using 'tie' & 'untie' in manipulating DBM files for IPC (Inter-Process Communication). I know I have to implement a 'locking' strategy to ensure not to corrupt my DBM files.
1) If I 'tie' to the same DBM file in each of my processes do I ever need to 'tie' again with in each process...? I'm pretty sure the answer is No. 2) (Related to question 1) Do I have to 'tie' to obtain the most current information from a DBM file...? I'm pretty sure the answer is No, the initial 'tie' should be enough. 3) (Related to question 2) Do I have to 'untie' to "submit" any changes made to the 'tied hash'...? I'm pretty sure the answer is No. I'm really looking for some advise/confirmation... All of the documentation I've read is pretty straight forward in dealing with only ONE process. Whenever it begins to deal with IPC it jumps right in to locking strategies... Any help/advise you could provide is greatly appreciated... Frustrated, Dave _______________________________________________ Perl-Unix-Users mailing list. To unsubscribe go to http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users