DB_File

DB_File is a Perl5 access to Berkeley DB version 1.x.
Download

DB_File Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Paul Marquess
  • Publisher web site:
  • http://search.cpan.org/~pmqs/IO-Compress-Bzip2-2.012/lib/IO/Compress/Bzip2.pm

DB_File Tags


DB_File Description

DB_File is a Perl5 access to Berkeley DB version 1.x. DB_File is a Perl5 access to Berkeley DB version 1.x.SYNOPSIS use DB_File; tie %hash, 'DB_File', ; tie %hash, 'DB_File', $filename, $flags, $mode, $DB_BTREE ; tie @array, 'DB_File', $filename, $flags, $mode, $DB_RECNO ; $status = $X->del($key ) ; $status = $X->put($key, $value ) ; $status = $X->get($key, $value ) ; $status = $X->seq($key, $value, $flags) ; $status = $X->sync() ; $status = $X->fd ; # BTREE only $count = $X->get_dup($key) ; @list = $X->get_dup($key) ; %list = $X->get_dup($key, 1) ; $status = $X->find_dup($key, $value) ; $status = $X->del_dup($key, $value) ; # RECNO only $a = $X->length; $a = $X->pop ; $X->push(list); $a = $X->shift; $X->unshift(list); @r = $X->splice(offset, length, elements); # DBM Filters $old_filter = $db->filter_store_key ( sub { ... } ) ; $old_filter = $db->filter_store_value( sub { ... } ) ; $old_filter = $db->filter_fetch_key ( sub { ... } ) ; $old_filter = $db->filter_fetch_value( sub { ... } ) ; untie %hash ; untie @array ;DB_File is a module which allows Perl programs to make use of the facilities provided by Berkeley DB version 1.x (if you have a newer version of DB, see "Using DB_File with Berkeley DB version 2 or greater"). It is assumed that you have a copy of the Berkeley DB manual pages at hand when reading this documentation. The interface defined here mirrors the Berkeley DB interface closely.Berkeley DB is a C library which provides a consistent interface to a number of database formats. DB_File provides an interface to all three of the database types currently supported by Berkeley DB. Requirements: · Perl


DB_File Related Software