in reply to DBI-disconnect ???

Unlike this case:
my $database = DBI->connect("DBI:" . $info{DBMS} . ":" . $info{DSN}, 'sa','') or die "Could not connect to database: " . DBI->errstr;
where you actually invoke the connect method in DBI, the disconnect method is part of your database object. You would want to do something more like this:
$database->disconnect();
Hope this helps!
MrCromeDome

Replies are listed 'Best First'.
Re: Re: DBI-disconnect ???
by christopherbarsuk (Acolyte) on Aug 12, 2001 at 02:41 UTC
    Yep, that's what I've been doing all along...
    my $dbh = DBI->connect( $dsn, $user, $pwd, \%attr ); ... $dbh->disconnect;

    ...and it worked until my sysadmin upgraded to the latest DBI.

    Sorry if my original post was misleading.