NAME
CHI::Driver::BerkeleyDB -- Using BerkeleyDB for cache
SYNOPSIS
use CHI;
my $cache = CHI->new(
driver => 'BerkeleyDB',
root_dir => '/path/to/cache/root'
);
DESCRIPTION
This cache driver uses Berkeley DB files to store data. Each namespace
is stored in its own db file.
CONSTRUCTOR OPTIONS
root_dir
Path to the directory that will contain the database files, also
known as the BerkeleyDB "Home".
Any other constructor options not recognized by CHI are passed along to
BerkeleyDB::Manager->new. For example, you can pass *db_class* to change
from the default BerkeleyDB::Hash.
SUPPORT AND DOCUMENTATION
Questions and feedback are welcome, and should be directed to the
perl-cache mailing list:
http://groups.google.com/group/perl-cache-discuss
Bugs and feature requests will be tracked at RT:
http://rt.cpan.org/NoAuth/Bugs.html?Dist=CHI-Driver-BerkeleyDB
The latest source code can be browsed and fetched at:
http://github.com/jonswar/perl-chi-driver-bdb/tree/master
git clone git://github.com/jonswar/perl-chi-driver-bdb.git
AUTHOR
Jonathan Swartz
SEE ALSO
CHI, BerkeleyDB, BerkeleyDB::Manager
COPYRIGHT & LICENSE
Copyright (C) 2007 Jonathan Swartz.
CHI::Driver::BerkeleyDB is provided "as is" and without any express or
implied warranties, including, without limitation, the implied
warranties of merchantibility and fitness for a particular purpose.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.