SQLite_FileTie to SQLite, with DB_File emulation | |
Download |
SQLite_File Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Publisher Name:
- Mark Allen Jensen
- Publisher web site:
- http://search.cpan.org/~majensen/
SQLite_File Tags
SQLite_File Description
Tie to SQLite, with DB_File emulation 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) Requirements: · Perl
SQLite_File Related Software