Re: Re: DESTROY

2006-10-11 Thread Jordan McLain
I have the call to the module in a block already. It goes something like: package eCarList::Admin; use eCarList::DB; use eCarList::Output; use vars qw($db); sub handler { my $r = shift; $db = eCarList::DB->new(); } On 10/11/06, Tyler Bird <[EMAIL PROTECTED]> wrote: Try

Re: Re: DESTROY

2006-10-11 Thread Dondi M. Stroma
uot; <[EMAIL PROTECTED]> To: Sent: Wednesday, October 11, 2006 12:06 PM Subject: Re: Re: DESTROY I have the call to the module in a block already. It goes something like: package eCarList::Admin; use eCarList::DB; use eCarList::Output; use vars qw($db); sub handler { my $r = sh

Re: Re: DESTROY

2006-10-11 Thread Jordan McLain
Good call, thanks for the help guys. I really appreciate it. Jordan On 10/11/06, Philip M. Gollucci <[EMAIL PROTECTED]> wrote: Dondi M. Stroma wrote: > I believe that since $db is a global variable it's not going to be > destroyed. If you got rid of the 'use vars' and changed it to > > sub ha

Re: Re: Re: DESTROY

2006-10-10 Thread Jordan McLain
That is not the problem... The problem comes in when I do not use Apache::DBI and I still end up with alot of mysql threads. The problem is that I do not think DESTROY is being called. On 10/10/06, Jordan McLain <[EMAIL PROTECTED]> wrote: That is not the problem... The problem comes in when I

Re: Re: Re: DESTROY

2006-10-10 Thread Dondi M. Stroma
If I were you, I would put something like warn "I'm being destroyed."; in the DESTROY method, so you'll know for sure whether that is the case. - Original Message - From: "Jordan McLain" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 10, 2006 1

Re: Re: Re: Re: DESTROY

2006-10-10 Thread Jordan McLain
Sent: Tuesday, October 10, 2006 11:20 PM Subject: Re: Re: Re: DESTROY > That is not the problem... The problem comes in when I do not use > Apache::DBI and I still end up with alot of mysql threads. The > problem is that I do not think DESTROY is being called. > > On 10/10/06,