Re: DB
[email protected] (Adam Turoff) Tue, 16 Nov 1999 19:03:32 -0500
| Newsgroups | perl.sdk |
|---|---|
| Message-ID | <[email protected]> |
Nathan Torkington wrote:
> I'm talking about putting the DB_File module source into the SDK, along
> with the Sleepycat libdb source. BerkeleyDB and DB_File differ how?
Authoritative answers:
http://www.sleepycat.com/faq.html
1.I'm trying to use Berkeley DB with Perl.
The original Perl module for Berkeley DB was DB_File, which was
written to interface to Berkeley DB version 1.85. The newer
Perl module for Berkeley DB is BerkeleyDB, which was written
to interface to version 2.0 and later releases. Because current
Berkeley DB versions have a compatibility API for version 1.85,
you can (and should!) build the DB_File module using a current
release of Berkeley DB, although DB_File will still only support
the original DB 1.85 functionality.
DB_File is distributed with the standard Perl source distribution
(look in the directory "ext/DB_File"). You can find both DB_File
and BerkeleyDB on CPAN, the Comprehensive Perl Archive Network
of mirrored FTP sites. The master CPAN site is ftp://ftp.funet.fi/.
Questions about DB_File and BerkeleyDB are best asked on the Usenet
newsgroup comp.lang.perl.modules. If you are really desperate,
you can try Paul Marquess.
-- Adam