MCDB_File

Perl extension for access to mcdb constant databases
Download

MCDB_File Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Glenn Strauss
  • Publisher web site:
  • http://search.cpan.org/~gstrauss/

MCDB_File Tags


MCDB_File Description

MCDB_File is a Perl module which provides a Perl interface to mcdb. mcdb is originally based on Dan Berstein's cdb package. mcdb - fast, reliable, simple code to create, read constant databasesSYNOPSIS use MCDB_File (); tie %mcdb, 'MCDB_File', 'file.mcdb' or die "tie failed: $!\n"; $value = $mcdb{$key}; $num_records = scalar $mcdb; untie %mcdb; use MCDB_File (); eval { my $mcdb_make = new MCDB_File::Make('t.mcdb') or die "create t.mcdb failed: $!\n"; $mcdb_make->insert('key1', 'value1'); $mcdb_make->insert('key2' => 'value2', 'key3' => 'value3'); $mcdb_make->insert(%t); $mcdb_make->finish; } or ($@ ne "" and warn "$@"); use MCDB_File (); eval { MCDB_File::Make::create $file, %t; } or ($@ ne "" and warn "$@");Product's homepage


MCDB_File Related Software