November 2004
Intermediate to advanced
336 pages
6h 22m
English
In this chapter we will look at the Perl interface to SQLite. Databases are accessed from Perl scripts using the Database Interface (DBI) and a Database Driver (DBD) for SQLite. If you have used DBI/DBD to interface Perl with other database systems, much of the procedure to communicate with SQLite will be familiar to you.
This chapter gives an overview of Perl's DBI in general and also details the attributes and methods specific to the SQLite DBD.
To access a SQLite database from Perl you need to install both the DBI module and the DBD module for SQLite.
If you do not already have DBI installed, use cpan to download it from the Comprehensive Perl Archive Network and install it.
# ...
Read now
Unlock full access