reading databases from perl?

Celia McInnis mcinnisc@omnisig.com
Mon Jul 9 20:09:00 GMT 2001


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



More information about the Sourcenav mailing list