"be consistent" | |
PerlMonks |
Re: scope and undefby atemon (Chaplain) |
on Aug 28, 2007 at 09:46 UTC ( [id://635543]=note: print w/replies, xml ) | Need Help?? |
Existance of a circular reference can cause this problem. i.e. even if you undef $self->{dbo}, there exist some reference to same object. So its not removed from memory. Here is a very simple problematic case for circular reference. Please check your code for any circular reference. you may try disconnecting the database handle just before you undef the $self->{dbo} as an immediate fix. Cheers ! --VC There are three sides to any argument..... your side, my side and the right side.
In Section
Seekers of Perl Wisdom
|
|