perl.html   [plain text]


<!--$Id: perl.so,v 10.29 2006/12/05 19:12:12 bostic Exp $-->
<!--Copyright (c) 1997,2008 Oracle.  All rights reserved.-->
<!--See the file LICENSE for redistribution information.-->
<html>
<head>
<title>Berkeley DB Reference Guide: Using Berkeley DB with Perl</title>
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++">
</head>
<body bgcolor=white>
<a name="2"><!--meow--></a>
<table width="100%"><tr valign=top>
<td><b><dl><dt>Berkeley DB Reference Guide:<dd>Berkeley DB Extensions</dl></b></td>
<td align=right><a href="../ext/mod.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../ext/php.html"><img src="../../images/next.gif" alt="Next"></a>
</td></tr></table>
<p align=center><b>Using Berkeley DB with Perl</b></p>
<p>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 subsequent
releases.  Because Berkeley DB version 2.X has a compatibility API for version
1.85, you can (and should!) build DB_File using version 2.X of Berkeley DB,
although DB_File will still only support the 1.85 functionality.</p>
<p>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
<a href="ftp://ftp.funet.fi/">ftp://ftp.funet.fi/</a>.</p>
<p>Versions of both BerkeleyDB and DB_File that are known to work correctly
with each release of Berkeley DB are included in the distributed Berkeley DB source
tree, in the subdirectories <b>perl.BerkeleyDB</b> and
<b>perl.DB_File</b>.  Each of those directories contains a
<b>README</b> file with instructions on installing and using those
modules.</p>
<p>The Perl interface is not maintained by Oracle.  Questions about the
DB_File and BerkeleyDB modules are best asked on the Usenet newsgroup
comp.lang.perl.modules.</p>
<table width="100%"><tr><td><br></td><td align=right><a href="../ext/mod.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../ext/php.html"><img src="../../images/next.gif" alt="Next"></a>
</td></tr></table>
<p><font size=1>Copyright (c) 1996,2008 Oracle.  All rights reserved.</font>
</body>
</html>