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 apache cgi and mod_perl. And I don't really know if
the mod_perl is behaving any differently since I'm using the "use DBI;"
and not "use Apache::DBI;" declaration.

thanks,
-rkl

> 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 apache
>> under cgi or mod_perl using "use DBI;"?
>>
>> thanks,
>> -rkl
>>
>
>
>

Reply via email to