Re: DB

[email protected] (Adam Turoff) Tue, 16 Nov 1999 18:34:49 -0500
Newsgroups perl.sdk
Message-ID <[email protected]>
Nathan Torkington wrote:
> 
> M.J.T. Guy writes:
> > I'm confused.   "DB" is the package name reserved for the Perl debugger.
> > And you can't be meaning DB_File, as that's already in the standard
> > distribution.
> >
> > Presumably you mean BerkeleyDB ?
> 
> Ah yes, the effects of smoking two bowls of crack in one's hotel room at
> night begin to show.
> 
> 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?

BerkeleyDB uses the sleepycat db 2.x source, and DB_File uses the db 1.8x 
source.  

More than that, I'm having a difficult time remembering.  I think that
the 1.x source distribution has fewer licensing restrictions than 2.x,
and that there were no problems including either with Perl, or writing
closed source code in perl that use DB_File/BerkeleyDB.

I remember there being some file layout differences between the two
versions, so that old 1.x files needed to be ported to the 2.x libraries.

My memory is a bit crufty right now, and the sleepycat site has been
revised to discuss version 2.x and 3.x, with no mention of 1.x as far
as I can tell.

-- Adam