August 25th, 2000, 10:41 AM
I am trying to get to grips with the odbc dbi
Does this come with active perl or do I need to download it. I see it in the active perl documentation however when I try and run my cgi it tells me:
Can't Locate auto/win32/ODBC/prepare.al @INC (INC contains c erl/lib c:/perl/site/lib.)
Any assistance would be greatly appreciated
August 25th, 2000, 02:39 PM
Specify the directory path like so:
use lib '/path/to';
Assuming Foo directory is in /path/to/
August 28th, 2000, 06:11 AM
is Foo the file I need to run the odbc connection, as I dont have it in my perl directory.
August 28th, 2000, 05:07 PM
Foo is a directory while bar.pm is a file. It was just an example. "/path/to" is the additional @INC path which you can specify with the "use lib" line within your script explicitly.
August 29th, 2000, 04:52 AM
Thanks I got it
but now my ppm wont download the DBI and ODBC files form activestate