my $sth = $dbh->prepare(<errstr; select count(*) from userlist where colemail = '$FORM{'email'}'; SQL $sth->execute;