| 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 | <head> |
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 6 | <title>Using Berkeley DB with Perl</title> |
| 7 | <link rel="stylesheet" href="gettingStarted.css" type="text/css" /> |
| 8 | <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> |
| 9 | <link rel="start" href="index.html" title="Berkeley DB Programmer's Reference Guide" /> |
| 10 | <link rel="up" href="ext.html" title="Chapter 22. Berkeley DB Extensions" /> |
| 11 | <link rel="prev" href="ext.html" title="Chapter 22. Berkeley DB Extensions" /> |
| 12 | <link rel="next" href="ext_php.html" title="Using Berkeley DB with PHP" /> |
| 13 | </head> |
| 14 | <body> |
| 15 | <div xmlns="" class="navheader"> |
| 16 | <div class="libver"> |
| 17 | <p>Library Version 11.2.5.3</p> |
| 18 | </div> |
| 19 | <table width="100%" summary="Navigation header"> |
| 20 | <tr> |
| 21 | <th colspan="3" align="center">Using Berkeley DB with Perl</th> |
| 22 | </tr> |
| 23 | <tr> |
| 24 | <td width="20%" align="left"><a accesskey="p" href="ext.html">Prev</a> </td> |
| 25 | <th width="60%" align="center">Chapter 22. |
| 26 | Berkeley DB Extensions |
| 27 | </th> |
| 28 | <td width="20%" align="right"> <a accesskey="n" href="ext_php.html">Next</a></td> |
| 29 | </tr> |
| 30 | </table> |
| 31 | <hr /> |
| 32 | </div> |
| 33 | <div class="sect1" lang="en" xml:lang="en"> |
| 34 | <div class="titlepage"> |
| 35 | <div> |
| 36 | <div> |
| 37 | <h2 class="title" style="clear: both"><a id="ext_perl"></a>Using Berkeley DB with Perl</h2> |
| 38 | </div> |
| 39 | </div> |
| 40 | </div> |
| 41 | <p>The original Perl module for Berkeley DB was DB_File, which was written to |
| 42 | interface to Berkeley DB version 1.85. The newer Perl module for Berkeley DB is |
| 43 | BerkeleyDB, which was written to interface to version 2.0 and subsequent |
| 44 | releases. Because Berkeley DB version 2.X has a compatibility API for version |
| 45 | 1.85, you can (and should!) build DB_File using version 2.X of Berkeley DB, |
| 46 | although DB_File will still only support the 1.85 functionality.</p> |
| 47 | <p>DB_File is distributed with the standard Perl source distribution (look |
| 48 | in the directory "ext/DB_File"). You can find both DB_File and BerkeleyDB |
| 49 | on CPAN, the Comprehensive Perl Archive Network of mirrored FTP sites. |
| 50 | The master CPAN site is |
| 51 | <a class="ulink" href="ftp://ftp.funet.fi/" target="_top">ftp://ftp.funet.fi/</a>.</p> |
| 52 | <p>Versions of both BerkeleyDB and DB_File that are known to work correctly |
| 53 | with each release of Berkeley DB are included in the distributed Berkeley DB source |
| 54 | tree, in the subdirectories <code class="filename">perl.BerkeleyDB</code> and |
| 55 | <code class="filename">perl.DB_File</code>. Each of those directories contains a |
| 56 | <code class="filename">README</code> file with instructions on installing and using those |
| 57 | modules.</p> |
| 58 | <p>The Perl interface is not maintained by Oracle. Questions about the |
| 59 | DB_File and BerkeleyDB modules are best asked on the Usenet newsgroup |
| 60 | comp.lang.perl.modules.</p> |
| 61 | </div> |
| 62 | <div class="navfooter"> |
| 63 | <hr /> |
| 64 | <table width="100%" summary="Navigation footer"> |
| 65 | <tr> |
| 66 | <td width="40%" align="left"><a accesskey="p" href="ext.html">Prev</a> </td> |
| 67 | <td width="20%" align="center"> |
| 68 | <a accesskey="u" href="ext.html">Up</a> |
| 69 | </td> |
| 70 | <td width="40%" align="right"> <a accesskey="n" href="ext_php.html">Next</a></td> |
| 71 | </tr> |
| 72 | <tr> |
| 73 | <td width="40%" align="left" valign="top">Chapter 22. |
| 74 | Berkeley DB Extensions |
| 75 | </td> |
| 76 | <td width="20%" align="center"> |
| 77 | <a accesskey="h" href="index.html">Home</a> |
| 78 | </td> |
| 79 | <td width="40%" align="right" valign="top"> Using Berkeley DB with PHP</td> |
| 80 | </tr> |
| 81 | </table> |
| 82 | </div> |
| 83 | </body> |
| 84 | </html> |