DBD::SQLite - Self Contained RDBMS in a DBI Driver
use DBI; my $dbh = DBI->connect("dbi:SQLite:dbname=dbfile","","");
SQLite is a public domain RDBMS database engine that you can find at http://www.hwaci.com/sw/sqlite/.
Rather than ask you to install SQLite first, because SQLite is public domain, DBD::SQLite includes the entire thing in the distribution. So in order to get a fast transaction capable RDBMS working for your perl project you simply have to install this module, and nothing else.
SQLite supports the following features:
See http://www.hwaci.com/sw/sqlite/lang.html for details.
Everything for your database is stored in a single disk file, making it easier to move things around than with DBD::CSV.
Yes, DBD::SQLite is small and light, but it supports full transactions!
There's lots more to it, but this is early development stages, so please refer to the docs on the SQLite web page, listed above, for SQL details.
Likely to be many, please use http://rt.cpan.org/ for reporting bugs.
Matt Sergeant, matt@sergeant.org
DBI.
To install DBD::SQLite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBD::SQLite
CPAN shell
perl -MCPAN -e shell install DBD::SQLite
For more information on module installation, please visit the detailed CPAN module installation guide.