MySQL Forums
Forum List  »  Perl

Re: disconnecting from DB with perl Mysql module
Posted by: Randy Clamons
Date: November 18, 2009 07:15PM

Here's what the module has to say for itself:

No close statement

Whenever the scalar that holds a database or statement handle loses
its value, Msql chooses the appropriate action (frees the result or
closes the database connection). So if you want to free the result or
close the connection, choose to do one of the following:

1. undef the handle
2. use the handle for another purpose
3. let the handle run out of scope
4. exit the program.

Options: ReplyQuote


Subject
Written By
Posted
Re: disconnecting from DB with perl Mysql module
November 18, 2009 07:15PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.