Hi to all,
using the following code:
use strict;
use DBI;
my $dbname= .... ;
my $dbuser= ....... ;
my $dbpassword= ........;
my $dbh = DBI->connect("DBI:Oracle:$dbname", $dbuser, $dbpassword) || die "Unable to
connect to $dbname: $DBI::errstr\n";
.......
dbh->disconnect;
i get the following error message:
Can't locate object method "disconnect" via package "dbh" (perhaps you forgot to load
"dbh"?) at ./queue_mon.pl line 53.
everything works fine without the disconnect statement. What's wrong?
Regards, Stefan Wolf