Class::DBI::SQLite problem

[prev] [thread] [next] [Date index for 2005/02/07]

From: Kenny Gatdula
Subject: Class::DBI::SQLite problem
Date: 20:03 on 07 Feb 2005
Hi,
I'm having a little trouble getting started using Class::DBI::SQLite.
First of all I'm using the sample database that is created by 
DBSchema::Sample.
    perl -MDBSchema::Sample -e load
I then created an Author class, and configured it to use this test database.
    package Authors;
    use base qw(Class::DBI::SQLite);
    __PACKAGE__->set_db('Main', 'dbi:SQLite:dbname=test', '', '');
    __PACKAGE__->set_up_table('Authors');
I then wrote a small script to retrieve one of the authors, and I come 
up with this error.
    SQL ERROR: Incomplete statement!

Any ideas as to what's going on? This is with Class::DBI version 0.96 
and Class::DBI::SQLite version 0.07.

Thanks in advance,
Kenny

Class::DBI::SQLite problem
Kenny Gatdula 20:03 on 07 Feb 2005

Generated at 21:37 on 09 Feb 2005 by mariachi v0.52