And if your going to use SQLite, make sure you get rid of the database disconnection feature, just comment out the line:
$self->dbh->disconnect(); # close database connection
According to this...

Also be sure to:
# $CFG{'DB_USER'}, # "webadmin",
"driver:sqlite;serializer:Storable;id:md5", # "driver:mysql;serializer:Storable;id:md5",
All in

And simple.ini would need to be changed as well for the DB stuff.

In reply to Nice tute, some notes on sqlite by DavidH
in thread RFC: Proposed tutorial - simple login script using CGI::Application by scorpio17

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":