in reply to unable to connect sybase DB in windows

Note: This node was written prior to an undocumented update by the OP.

In addition to what AM has asked,

$dbh = DBI->connect("dbi:Sybase:host=10.89.40.35;port=2640",database=m +aster,$user, $passwd);
does not parse, as the closing quotes are in the wrong location. I believe that you want the line to look like:
$dbh = DBI->connect("dbi:Sybase:host=10.89.40.35;port=2640;database=ma +ster",$user, $passwd);

--MidLifeXis