Hi Peeps,

A quickie question about dbms. Is it ok if multiple scripts update the
same dbm file? I mean they cannot update the same record at the same
time. 

What I've done is I've implemented a record based locking i.e create a
empty file bu the record name. If the file exists then don't modify the
record but they can modify unlocked records.

Is there any chance of dbm file getting corrupt? If yes then I'll have
to use file based locking.


Thanks,
Prash


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to