# The person was trying to return a result set # was doing this. $sth->execute; #his statement handle was $responce %hash = \%($responce); return %hash;