in reply to Re^2: storing database handle object in a variable
in thread storing database handle object in a variable

Why you want this? May be you better think about separating connection code in a module?

  • Comment on Re^3: storing database handle object in a variable