in reply to DBI & DBD-Sybase packages

Could you, perhaps, show us the script which connects to sybase using these packages?

Replies are listed 'Best First'.
Re^2: DBI & DBD-Sybase packages
by Nalina (Monk) on May 02, 2008 at 13:42 UTC
    $DB1 = "dbi:Sybase:server=server_name;database=db"; use DBI; # # Open the connection to the database # if ( ! defined( $dbh ) ) { $dbh = DBI->connect( $DB1, 'uid', 'passw', 'Sybase' );
      Well, the definition of DBI::connect indicates that the (optional) fourth parameter is a reference to an attributes hash, not a string constant.

      If I had to hazard a guess, I'd change your connect to $dbh = DBI->connect( $DB1, 'uid', 'passw' );