in reply to Passing database handles

You don't have to pass a reference to the handle. It already is a reference to a blessed hash.

I suggest connecting and disconnecting in the main script only, and then passing the handle straight off to the sub, not as a reference.

Just a thought...
  • Comment on (ichimunki) Re: Passing database handles