http://qs321.pair.com?node_id=678520


in reply to Re: cleaning up in DESTROY
in thread cleaning up in DESTROY

i think your should call the $dbh->disconnect with a independent method in the package definition. for example:
sub finish { my $self = shift; $self->{'dbh'}->disconnect; }