$dbh->do("REPLACE INTO $table SET item_id=?, upc=?", undef, $item_id, $upc) or die $dbh->errstr;