in reply to Re: getting a single element from hash result
in thread getting a single element from hash result

I think you meant: my $HTMLCheck = ($db->select("select HTMLCheck from Contact where ContactID=$ContactID"))[1]->{HTMLCheck};