in reply to Insert into database table
my $sth = $dbh->prepare($sql) or die $dbh->errstr(); # and $sth->execute() or die $dbh->errstr(); [download]