in reply to Re^2: storing database handle object in a variablein thread storing database handle object in a variable
Why you want this? May be you better think about separating connection code in a module?