Welcome to the Monastery | |
PerlMonks |
Re: Why was it neccessary to pass a DBI handler by reference?by tilly (Archbishop) |
on Jan 28, 2004 at 17:02 UTC ( [id://324710]=note: print w/replies, xml ) | Need Help?? |
What you have described shouldn't happen. Therefore either there is a bug that I don't know about, or your description is incomplete in some important particular. I'd initially guess that the description is incomplete because bona fide Perl bugs are fairly rare. And I'd look in particular at how you clear variables since what you are describing could easily be explained by something, somewhere, holding on to a reference to $dbh so that DESTROY didn't get called when you expected it to.
In Section
Seekers of Perl Wisdom
|
|