in reply to Re^2: windows sybase error messages
in thread windows sybase error messages

That's what we call in professional lingo a "typo". I couldn't imagine that the dsn for DBD::Sybase would have a wacky non-standard way of specifying just the port, so I had to consult the source (http://search.cpan.org/src/MEWP/DBD-Sybase-1.04/dbdimp.c):

if(strchr(dsn, '=')) { extractFromDsn("server=", dsn, imp_dbh->server, 64); ... blah blah blah ... extractFromDsn("host=", dsn, imp_dbh->host, 64); extractFromDsn("port=", dsn, imp_dbh->port, 20); extractFromDsn("maxConnect=", dsn, imp_dbh->maxConnect, 25);

As you can see, it is clearly looking for "port=", and not "port-". Why your dsn would would work with "port-" is beyond me. *shrug*

--
edan

Replies are listed 'Best First'.
Re^4: windows sybase error messages
by VSarkiss (Monsignor) on Aug 26, 2004 at 16:20 UTC

    Good catch. You should report it to mpeppler, either as a /msg here, or to his email listed on his home page.

      either as a /msg here, or to his email listed on his home page.
      That's the wrong approach. You should report the bug as outlined in the documentation. RTFM.
        Actually it doesn't matter all that much - as long as I'm informed. And as I've read this thread - consider me informed :-)

        Michael

Re^4: windows sybase error messages
by martymart (Deacon) on Aug 26, 2004 at 16:07 UTC
    yeah it looks like you're right, I stand corrected! I suppose I shouldn't rely so much on the documentation!
    Martymart