[Pdx-pm] do I have to lock a TIED hash?
Tom Phoenix
rootbeer at redcat.com
Thu Jun 17 10:17:13 CDT 2004
On Wed, 16 Jun 2004, John Springer wrote:
> I'm using a tied hash as a simple database (using DB_File).
> To I need to lock the file before I write or does tying sort of manage
> that?
There's nothing automatically locked by tying. But there is a section
called "Safe ways to lock a database" in my copy of the DB_File
documentation. It gives several alternatives. Does that give you what you
need?
Hope this helps!
--Tom Phoenix
More information about the Pdx-pm-list
mailing list