perlquestion
chennaiite
Hi Monks,<br>
I need to connect a Informix database server in windows.I downloaded DBD::Informix from cpan...<br>
But it is not installing,giving error of cannot locate ppd file..<br>Also i can't find the ppd file....<br>
Is there any other way to connect the informix server,can i use ODBC....
If so please provide the code if you know anybody....Since i am very new to informix....
Is this is correct way to connect.please confirm....
<code>
use DBI;
$host="localhost";
$base="India_C";
$dbpath = "DBI:Informix:database=$base;host=$host";
$dbh = DBI->connect($dbpath, "", "") or die "Can't open database DBI::errstr";
print "Successful Informix DB Connection";
</code>
Thanks in advance for your reply..........