my $sth = $dbh->prepare(INSERT into people (fornavn, efternavn, cpr, adresse, zip, city, tjenestested) values ($fornavn, $efternavn, $cpr, $adresse, $zip, $city, $tjenestested)); $sth->execute(); $sth->finish(); #### my $sth = $dbh->do(q{ INSERT INTO people (fornavn, efternavn, cpr, adresse, zip, city, tjenestested) VALUES (?, ?, ?, ?, ?, ?, ?, ?) }, undef, $fornavn, $efternavn, $cpr, $adresse, $zip, $city, $tjenestested);