After checking I see that DOS is running MKS perl and CYGWIN is running Active Perl. I don't understand how this is happening. My System $PATH points to ActivePerl first. User $PATH has no perl entries. I also have $PERL5LIB pointing to ActivePerl. Still MKS perl is the choice of the DOS prompt!
Face --- Jan Dubois <[EMAIL PROTECTED]> wrote: > From: "Jan Dubois" <[EMAIL PROTECTED]> > To: "'Andy Hammer'" <[EMAIL PROTECTED]>, > <[email protected]> > Subject: RE: @INC > Date: Fri, 8 Jun 2007 10:17:11 -0700 > > On Fri, 08 Jun 2007, Andy Hammer wrote: > > I don't understand what has happened. I have not > run any Perl scripts > > for a while. Now I get the "Can't locate > whatever.pm in @INC" Also, > > the @INC variable now points to MKS Toolkit > instead of Perl\lib and > > Perl\site\lib. Of course I can fix EVERY script > with a use lib > > 'C:Perl\lib'; but I would rather change the @INC > so it could see these > > libraries. > > Check your PATH environment variable to see if you > have the MKS directory > in front of ActivePerl. MKS contains a perl.exe > too; maybe you are running > that one? Quick check: > > perl -eprint$^X > > If you are running the correct perl binary, then > check if you got a PERL5LIB > or PERLLIB environment variable containing > references to the MKS toolkit. > > Cheers, > -Jan > > ____________________________________________________________________________________ Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
