Home: Perl Programming Help: Win32 Programming Help:
use DBI;



zanardi
journeyman

Feb 5, 2001, 1:40 PM


Views: 7179
use DBI;

Im having troubles getting the DBI module to work on my computer here, it says Can't locate DBI.pm. Which I know its on my computer because I found it with the rest of my modules, and I dont have a problem using any other modules as far as I know.

Fueled By ZCom (beta 2 stage)


Jasmine
Administrator

Feb 5, 2001, 2:20 PM


Views: 7177
Re: use DBI;

Is the full path to DBI.pm in @INC ?

If it isn't, either push @INC with the directory or toss a use lib directive in your code.

If it is, you may want to try reinstalling the module using the Perl Package Manager (ppm.pl) which is in the same directory that the Perl executable is in.




zanardi
journeyman

Feb 16, 2001, 1:53 PM


Views: 7165
Re: use DBI;

ok I reinistalled it useing ppm.pl as you mentioned and it worked. thanks

----------------------
Fueled By ZCom