Article 35636 of comp.lang.perl:
Path: ig.co.uk!news.demon.co.uk!demon!doc.news.pipex.net!pipex!howland.reston.ans.net!gatech!news.mathworks.com!news.kei.com!travelers.mail.cornell.edu!newsstand.cit.cornell.edu!usenet
From: [email protected] (Steve Pacenka)
Newsgroups: comp.lang.perl
Subject: Re: dbm or txt to dbf (DBASE3) file converter needed
Date: Tue, 30 May 1995 20:17:38 GMT
Organization: Cornell University, NYS Water Resources Institute
Lines: 23
Sender: [email protected] (Verified)
Message-ID: <[email protected]>
References: <[email protected]>
Reply-To: [email protected]
NNTP-Posting-Host: 128
X-Newsreader: Forte Free Agent v0.46

[email protected] (NICOLA) wrote:

>I'm looking for some scripts to translate text or dbm files to dbf  Dbase 3
>I should transfer some info in a database format readable by Toolbook , better the old 1.53 version, that is able to read dbase 3 files

XBase files have a very simple structure: header followed by
identically-formatted fixed-length records containing fixed length
fields without delimiters between them.  The index files vary, but if
you sort your DBM or text data you can put out a DBF whose physical
order is the order of records desired, thus eliminating any need for
an index.

XBase file headers are documented in:

  ftp://oak.oakland.edu/oak/SimTel/msdos/dbase/dbasefil.inf.

There is source code in C to read and write unindexed XBase files also
in the SimTel DOS archive.  A translation into Perl should not be
difficult.

-- SP