in reply to Re: Perl modules in Windows
in thread Perl modules in Windows

I have worked out ppm. Now I get the following when I run my program.
Can't locate DBI/ODBC.pm in @INC (@INC contains:F:/Perl/lib etc etc
Any explanation? I have already installed:
3. DBD-ODBC [1.06] ODBC Driver for DBI

Replies are listed 'Best First'.
Re: Re: Re: Perl modules in Windows
by jZed (Prior) on Nov 05, 2003 at 15:29 UTC
    Can't locate DBI/ODBC.pm

    That doesn't sound right, it should be DBD/ODBC. Either you typoed in your script or you didn't cut and paste. The correct syntax is:

    my $dbh = DBI->connect("dbi:ODBC:$dsn",$user,$pass,$attrs);
    A reply falls below the community's threshold of quality. You may see it by logging in.
    A reply falls below the community's threshold of quality. You may see it by logging in.