my $update = $dbh->prepare($upd_query); $update->execute ... #### my $select = $Dbh->prepare("SELECT " ...); $select->execute ...