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:my $database = DBI->connect("DBI:" . $info{DBMS} . ":" . $info{DSN}, 'sa','') or die "Could not connect to database: " . DBI->errstr;
Hope this helps!$database->disconnect();
In reply to Re: DBI-disconnect ???
by MrCromeDome
in thread DBI-disconnect ???
by christopherbarsuk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |