On Fri, Apr 06, 2001 at 02:26:31PM -0400, Curt Russell Crandall wrote:
> If Perl DBI is saying it can't find disconnect, then I would think either

Perl is saying that it can't find the disconnect method in the DBI::st
package.  That's the statement handle package.  The disconnect method
is in the DBI package.

The solution is to call disconnect on the database handle object rather
than a statement handle object.


> $dbh somehow gets undef'd or maybe your disconnect method is
> missing.  I've run into this before where my disconnect method was
> "missing".  It may be you just need to reinstall DBI, which is what my
> sysadmin did.  Why disconnect was missing... who knows???  It may also be
> that we needed to reinstall the DBD::Sybase driver and possibly the db
> client libraries... it was a while ago and I do not remember.

I'm afraid that these approaches would not solve this problem.


Ronald

Reply via email to