Subject Perl script to connect to a remote IB on windows from linux
Author Danial Magid
This is what I have so far..


use DBI;

$host = "";
$db = "c:\\msasdata\\mmpcs.dgb";
%attr = (
database => "c:\\msasdata\\mmpcs.dgb"
$dbh = DBI->connect("dbi:InterBase:host=$host", "SYSDBA", "masterkey",
\%attr) || die $DBI::errstr;

$query="SELECT address1, address2 FROM CUSTOMER";
$nr = $sth->rows;
print $nr;
if ($sth->rows) {

Where am I going wrong?

I have the DBD and DBI installed.. Do I need to install IBPerl?


Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.