in reply to Re: DBI question
in thread DBI question

As a side note to this, you could have the database handle the incrementation of your first field in the query.
Hence you'd only need to do this:
"INSERT INTO foo VALUES('$tmpline')"
Cheers....