It almost feels as if the reference count got screwed up, and caused the handle not to get destroyed as it should (although I don't really see how that is possible).
Did you try to run this with DBI->trace(3) to see what was going on?
Re: Why was it neccessary to pass a DBI handler by reference?
Replies are listed 'Best First'.
I did, but the results weren't very useful to me because
1) I have never looked at the output much before and don't know how to read it; and 2) the code is part of a project,
and so the tracelog that was generated was 690 lines long.
When the deadline is less pressing I hope to have time
to product a test case that demonstrates the problem, but
I know I won't be given time for it now that I've come
up with a solution (the project is quite urgent).
I'm just curious now! As I stated, it's
not a real problem anymore, but I would like to know