in reply to Inserting large chunks of data into MySQL
First of all, are you sure this code works? perltidy reports that it parses this way:
... $count = $dbh->do("INSERT INTO ques (...) VALUES (...)", undef, $usernamenow, $txtque, ... ); ... [download]