in reply to convert flat file to mysql -- again
Rather than mess around with a MySQL-specific interface, I suggest you read up on DBI.