Hey Guys,
I'm trying to test DBI by running the following perl code attached I got from
http://www.orafaq.com/faqperl.htm#DBDCONNECT get error below. How do I test DBI install on server to make sure DBI and DBD installed properly.
Thanks
perl code
#!G:\\iw-home/iw-perl/bin/iwperl.exe -w
#!/bin/env perl
#!d:\\perl\\bin\\perl.exe
use DBI;
my $dbh = DBI->connect('dbi

racle:host=localhost;sid=D1902;port=1521',
'smartbas', 'test23', \{ RaiseError => 1, AutoCommit => 0 \});
) || die "Database connection not made: $DBI::errstr";
$dbh->disconnect;
error
G:\iw-home\iw-perl\bin>perl dbitest.pl
Backslash found where operator expected at dbitest.pl line 7, near "0 \"
(Missing operator before \?)
syntax error at dbitest.pl line 7, near "0 \"
Execution of dbitest.pl aborted due to compilation errors.
G:\iw-home\iw-perl\bin>