my $insert_h = $dbh->prepare('INSERT INTO sales VALUES(?, ?, ?, ?, ?, ?)'); while () { $insert_h->execute(split); }