From mboxrd@z Thu Jan 1 00:00:00 1970 From: Celia McInnis To: "David Robinson (AU)" Cc: "'sourcenav@sources.redhat.com'" Subject: Re: reading databases from perl? Date: Mon, 09 Jul 2001 20:09:00 -0000 Message-id: <3B4A7316.B15C1575@omnisig.com> References: X-SW-Source: 2001-q3/msg00038.html Thanks. I was using the C db API - but found this inconvenient (multi-platform). I am now using a system call from perl to dbdump. This is at least a little better. Please keep me posted if you build a perl module to read the db. (I probably should be using the tcl db api, but I find tcl very cumbersome next to perl...). Celia McInnis "David Robinson (AU)" wrote: > Hello Celia > > I have been reading the SN database externally, but not > with perl. I previously did some hacking using dbdump, > which is distributed with SN. At present I am trying to > build a PHP extension module to read the database. > > Apparently you can also access the database using tcl; > SN is mostly written in TCL. > > The database format is berkeley DB 1.85 (a very old format) > which can be found at http://www.sleepycat.com/ . > > Perhaps you could build the static database library, link > it into a shared library, then access it using perl. > > Regards > David Robinson > > -----Original Message----- > From: Celia McInnis [ mailto:mcinnisc@omnisig.com ] > Sent: Sunday, 8 July 2001 14:28 > To: Source Navigator > Subject: reading databases from perl? > > Can anyone tell me how I can read the source-navigator databases from > perl? > > Thanks, > Celia McInnis