Perldoc Browser
5.16.1
Latest
5.40.2
5.40.1
5.40.0
5.38.4
5.38.3
5.38.2
5.38.1
5.38.0
5.36.3
5.36.2
5.36.1
5.36.0
5.34.3
5.34.2
5.34.1
5.34.0
5.32.1
5.32.0
5.30.3
5.30.2
5.30.1
5.30.0
5.28.3
5.28.2
5.28.1
5.28.0
5.26.3
5.26.2
5.26.1
5.26.0
5.24.4
5.24.3
5.24.2
5.24.1
5.24.0
5.22.4
5.22.3
5.22.2
5.22.1
5.22.0
5.20.3
5.20.2
5.20.1
5.20.0
5.18.4
5.18.3
5.18.2
5.18.1
5.18.0
5.16.3
5.16.2
5.16.1
5.16.0
5.14.4
5.14.3
5.14.2
5.14.1
5.14.0
5.12.5
5.12.4
5.12.3
5.12.2
5.12.1
5.12.0
5.10.1
5.10.0
5.8.9
5.8.8
5.8.7
5.8.6
5.8.5
5.8.4
5.8.3
5.8.2
5.8.1
5.8.0
5.6.2
5.6.1
5.6.0
5.005_04
5.005_03
5.005_02
5.005_01
5.005
Dev
blead
5.41.12
5.41.11
5.41.10
5.41.9
5.41.8
5.41.7
5.41.6
5.41.5
5.41.4
5.41.3
5.41.2
5.41.1
5.40.1-RC1
5.40.0-RC2
5.40.0-RC1
5.39.10
5.39.9
5.39.8
5.39.7
5.39.6
5.39.5
5.39.4
5.39.3
5.39.2
5.39.1
5.38.3-RC1
Documentation
Perl
Intro
Tutorials
FAQs
Reference
Operators
Functions
Variables
Modules
Utilities
Release Notes
Community
History
Expand
DB_File
(
source
,
CPAN
)
version 1.826
You are viewing the version of this documentation from Perl 5.16.1.
View the latest version
CONTENTS
NAME
SYNOPSIS
DESCRIPTION
Using DB_File with Berkeley DB version 2 or greater
Interface to Berkeley DB
Opening a Berkeley DB Database File
Default Parameters
In Memory Databases
DB_HASH
A Simple Example
DB_BTREE
Changing the BTREE sort order
Handling Duplicate Keys
The get_dup() Method
The find_dup() Method
The del_dup() Method
Matching Partial Keys
DB_RECNO
The 'bval' Option
A Simple Example
Extra RECNO Methods
Another Example
THE API INTERFACE
DBM FILTERS
The Filter
An Example -- the NULL termination problem.
Another Example -- Key is a C int.
HINTS AND TIPS
Locking: The Trouble with fd
Safe ways to lock a database
Sharing Databases With C Applications
The untie() Gotcha
COMMON QUESTIONS
Why is there Perl source in my database?
How do I store complex data structures with DB_File?