Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: cleaning up in DESTROY

by pysome (Scribe)
on Apr 05, 2008 at 10:36 UTC ( #678520=note: print w/replies, xml ) Need Help??


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; }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://678520]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2023-04-01 21:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?