SQLite_File is a Perl module that allows a hash or an array to be tied to a SQLite DB via DBI plus DBD::SQLite, in a way that emulates many features of Berkeley-DB-based DB_File.
In particular, this module offers another choice for ActiveState users, who may find it difficult to get a working DB_File installed, but can't failover to SDBM due to its record length restrictions. SQLite_File requires DBD::SQLite, which has SQLite built-in -- no external application install required.
SYNOPSIS
# tie a simple hash to a SQLite DB file
my Û;
tie(Û, 'SQLite_File', 'my.db');
# tie an array
my @db;
tie(@db, 'SQLite_File', 'my.db');
# tie to a tempfile
tie(Û, 'SQLite_File', undef);
# get attributes of the tied object
$SQLite_handle = (tied Û)->dbh;
$db_file = (tied Û)->file;
# use as an option in AnyDBM_File
@AnyDBM_File::ISA = qw( DB_File SQLite_File SDBM );
my Û;
tie(Û, 'AnyDBM_File', 'my.db', @dbmargs)
Product's homepage
Requirements:
· Perl