in reply to Re: variable type
in thread variable type

DBI is OK has some sample code you might enjoy.