[an error occurred while processing this directive]

Обращение к DB файлам в Perl как к хэшам.
use DB_File;
$db_hashinfo = new DB_File::HASHINFO;
$db_hashinfo->{'cachesize'} =  100000;
$dbobj = tie(%hash, "DB_File", "somefile.db", O_RDWR|O_CREAT, 0644, $db_hashinfo ))||die "Error";
$dbobj->del($key);
$dbobj->sync();
untie %hash;
Для доступа к хранилищам Berkeley DB версии 2,3 и 4 нужно использовать модуль  BerkeleyDB.
 
14.12.2002
Ключи: sync, size, file, db, hash, info, perl, cache / Лицензия: CC-BY
Раздел:    Корень / Программисту и web-разработчику / Perl / Массивы и Хэши

[an error occurred while processing this directive]

[an error occurred while processing this directive]