|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Hi
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 |
|
#2
|
|||
|
|||
|
Specify the directory path like so:
use lib '/path/to'; use Foo::bar; Assuming Foo directory is in /path/to/ |
|
#3
|
|||
|
|||
|
is Foo the file I need to run the odbc connection, as I dont have it in my perl directory.
|
|
#4
|
|||
|
|||
|
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.
|
|
#5
|
|||
|
|||
|
Thanks I got it
but now my ppm wont download the DBI and ODBC files form activestate |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > Confused about DBI |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|