in reply to Reaped:
in thread RFC: Proposed tutorial - simple login script using CGI::Application

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.