Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Sybase and Perl

by SamueD2 (Novice)
on Mar 19, 2003 at 12:53 UTC ( [id://244320] : perlquestion . print w/replies, xml ) Need Help??

SamueD2 has asked for the wisdom of the Perl Monks concerning the following question:

I need to connect to a Sybase database and I can't seem to install the correct module. Can anyone help

Replies are listed 'Best First'.
Re: Sybase and Perl
by Tanalis (Curate) on Mar 19, 2003 at 13:17 UTC

    Heys,

    Take a look at the suite of Sybase modules by mpeppler - either on CPAN or his homepage (for some useful docs).

    Of course, the more generic DBI module should also be able do what you need.

    Hope that helps ..
    -- Foxcub
    A friend is someone who can see straight through you, yet still enjoy the view. (Anon)

Re: Sybase and Perl
by Emanuel (Pilgrim) on Mar 19, 2003 at 13:16 UTC
    not unless you give some more information as this oneliner.

    anyways, i've been using perl & sybase at my previous job, and if i remember correctly, we were using the Sybase distribution on CPAN (SybPerl)
    there is also DBD::Sybase which might be what you're looking for.


    hope that helps
    Emanuel
Re: Sybase and Perl
by derby (Abbot) on Mar 19, 2003 at 13:43 UTC
    Could you provide more info on exactly what module you're trying to install and what exactly is going wrong?

    From the top of my head, three things to check:

    • Are the Sybase client libs (DBlib or CTlib or FreeTDS) installed?
    • Is the interfaces file configured correctly?
    • Does the SYBASE environment variable point to the correct directory (where the interface and client libs reside)?

    -derby