Re: Does DBI connection disconnect automatically

2003-09-26 Thread Colin Wetherbee
[EMAIL PROTECTED] said: > Sorry for the lack of info to my question. I have the connection working > fine. I wanted to know what happened to the connection when I don't > literally issue a $dbh->disconnect(). Does the connection closes > automaitcally or the pointer is still out there wasting away

Re: Does DBI connection disconnect automatically

2003-09-26 Thread perl
Sorry for the lack of info to my question. I have the connection working fine. I wanted to know what happened to the connection when I don't literally issue a $dbh->disconnect(). Does the connection closes automaitcally or the pointer is still out there wasting away resources? I am using this in a

Re: Does DBI connection disconnect automatically

2003-09-26 Thread paul . boutros
Just adding use DBI doesn't create a connection. I am not familiar with mod_perl, but in general you can/should call $dbh->disconnect() once you are finished with the database. See perldoc DBI Quoting [EMAIL PROTECTED]: > Does the connection disconnect automatically when I'm using it in apach

Does DBI connection disconnect automatically

2003-09-26 Thread perl
Does the connection disconnect automatically when I'm using it in apache under cgi or mod_perl using "use DBI;"? thanks, -rkl