From: Jack.Jansen at oratrix.com (Jack Jansen)
Date: Tue, 13 Apr 1999 12:05:39 +0200
Subject: simple indexed file module?
References: <joe-120419991008353558@chinacat.salk.edu>
Message-ID: <371316F3.29E6DC89@oratrix.com>
X-UID: 186                                                  

Joe Strout wrote:
> 
> For a CGI script I'm working on, I need to keep a couple of indexed
> files.  These will contain variable-length data (descriptions), which
> may be changed fairly frequently.  So I imagine that in addition to the
> data file, there will be an index file that keeps track of the position
> and length of each record.  New or expanded records will be stuffed in
> wherever there is free space, or at the end if no sufficient free chunk
> is available.

anydbm is probably the simplest here. Works on the Mac too, where gdbm is
available.

--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen at oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm




