I never got a response for this, but I am pretty sure you can put the line below at the top of your script and it will search where-ever you would like...
#!C:/Perl/bin/Perl.exe -I R:/SomeOtherDir/Frameworks/ Where the path after the '-I' tells the script to include this path as a 'search' path... Feedback please. I've mentioned this before, but did not get any response on whether it was working or not... -----Original Message----- From: Bob Showalter [mailto:[EMAIL PROTECTED]] Sent: Friday, December 21, 2001 2:48 PM To: 'Pierre Carette' Cc: [EMAIL PROTECTED] Subject: RE: How to set @INC > -----Original Message----- > From: Pierre Carette [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 21, 2001 12:40 PM > To: Casey West > Cc: [EMAIL PROTECTED] > Subject: Re: How to set @INC > > > There must be a config file somewhere since I uninstalled the > regular perl > and installed active Perl, when I run a perlscript perl is > complaining that > it can't find some standard libraries and is looking in the > old perl5.6.0 > directory structure, The @INC is "burned in" to your perl binary when it's built. execute "perl -V" from the command line and examine the list of directories shown. Compare to the directories shown in the error message. If they aren't the same, you most likely have two different perl binaries on your system. Are you on UNIX? If so, what does the #! line say at the top of your script? Typically, it points to /usr/bin/perl, which is typically a hard link to your perl binary. If you removed your "old" perl without removing /usr/bin/perl, your old perl binary is still around and that's what's causing your problem. Just remove this and link /usr/bin/perl to the new binary. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]