hello,
how do i change the location that perl is looking for modules at runtime? another application has installed its own instance of perl and my script is looking in the wrong location for the modules. i've confirmed that the version i have is included in the "Path". i see the module at: D:\Perl\site\lib\Bundle
how can i modify @INC to look in the right location. i've attempted to explicity list where the module is located, but i've had no luck.
thanks for any help offered!
error:
D:\ApacheGroup\Apache2\cgi-bin>PayorEditSetUp.cgi
Can't locate DBI.pm in @INC (@INC contains: D:\usr\OV\lib\Perl D:/usr/OV/lib .)
at D:\ApacheGroup\Apache2\cgi-bin\PayorEditSetUp.cgi line 6.
BEGIN failed--compilation aborted at D:\ApacheGroup\Apache2\cgi-bin\PayorEditSet
Up.cgi line 6.
Can't locate DBI.pm in @INC (@INC contains: D:\usr\OV\lib\Perl D:/usr/OV/lib .)
at D:\ApacheGroup\Apache2\cgi-bin\PayorEditSetUp.cgi line 6.
BEGIN failed--compilation aborted at D:\ApacheGroup\Apache2\cgi-bin\PayorEditSet
Up.cgi line 6.
part of code:
#!d:\perl\bin\perl -w
use CGI qw/:standard/;
use html::template;
use DBI;
use strict;
use constant MAIN => "d:\\perl\\tmpl\\PayorEditSetUp.tmpl";
my $main = new HTML::Template (filename=>MAIN, no_includes=>1, die_on_bad_params=>1);
my $cgi = new CGI;
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
_______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
