cidaris has asked for the wisdom of the Perl Monks concerning the following question:

I've been searching long and hard for documentation on the DBI:SQLite module, but googling has only found me debian mirrors and changelogs. CPAN has minimal documentation, and there's no manpage ( unless I'm just daft ). I've looked through the actual .pm file a bit, but I won't claim to follow most of it.
I am hoping to find some supported methods, syntax examples, etc.
Here's my problem:

my $sql = "SELECT * FROM test"; my $sth = $dbh->prepare($sql) || die "Couldn't prepare $sql: $sth->err +str"; + + while ( @row = $sth->fetchrow_array ) { print "@row\n"; }

which is basically about as simple as it gets and the standard DBI way of doing it.

I'm getting this error:

dbih_setup_fbav: invalid number of fields: 0, NUM_OF_FIELDS attribute probably not set right at ./ line 12.
I'm kind of at a loss. Your help, or even just a pointer to a set of 'thorougher' docs, would be most appreciated.
Thanks! -- cidaris

2003-06-04 edit ybiC: s/pre/code/