in reply to Can't query SQLite in a while loop

You neither ->finish the results nor do you ->fetchrow them all. SQLite does not like more than one statement executing in parallel. Read DBI on the appropriate methods to call.

Replies are listed 'Best First'.
Re^2: Can't query SQLite in a while loop
by josef (Acolyte) on Sep 18, 2011 at 11:47 UTC
    Thanks Corion, I will read with more attention the DBI doc. I wrote this script to learn how Perl work with SQLite.