mikasue has asked for the wisdom of the Perl Monks concerning the following question:

Fellow Monks! I am using Class::DBI version 3.0.14 in the follow way:
use strict; use warnings; use lib '.'; package BPP::DBI; use base 'Class::DBI'; __PACKAGE__->connection("DBI:CSV:"); package BPP::USER; use base 'BPP::DBI'; __PACKAGE__->table('user'); __PACKAGE__->columns(Primary=>qw/userid/); __PACKAGE__->columns( Essential => qw/userid/);

I am trying to disconnect manually from this db connection. I do not find a disconnect method to use.

Please share with me how to manually disconnect from this db connection.

I have tried the following but get an error message that there is NO disconnect method found.

package BPP::DBI; use base 'Class::DBI'; __PACKAGE__->connection("DBI:CSV:"); __PACKAGE__->disconnect();

Replies are listed 'Best First'.
Re: Disconnecting in Class::DBI vs. 3.0.14
by Joost (Canon) on Sep 27, 2006 at 19:03 UTC
      THANKS!