On Fri, Apr 06, 2001 at 05:11:38PM -0400, Phil R Lawrence wrote:
> Since I posted the test scripts yesterday I also ran the trace at level three...
>There is no additional info that I can make out in
> the trace scripts because DBI never recieves the call to the disconnect method.
>Perl intercepts the invocation and dies:
>
> Uncaught exception from user code:
> DBI->disconnect is not a DBI method...
The full message reads:
DBI->disconnect is not a DBI method. Read the DBI manual.
>From this code:
package DBI;
sub disconnect { # a regular beginners bug
Carp::croak("DBI->disconnect is not a DBI method. Read the DBI manual.");
}
I wouldn't want to call you a beginner, but somewhere, for some reason,
you're executing "DBI->disconnect" or "$foo->disconnect" where $foo
contains "DBI".
Take a look at the t/subclass.t file in the DBI source tree.
Tim.