http://www.perlmonks.org?node_id=930472


in reply to Re: @INC Errors
in thread @INC Errors

So how do I fix it?
--perl.j

Replies are listed 'Best First'.
Re^3: @INC Errors
by chromatic (Archbishop) on Oct 09, 2011 at 21:39 UTC

    Figure out what changed in your environment. Check that the directories in perl -V exist and have permissions which allow you to read them.


    Improve your skills with Modern Perl: the free book.

      I get the following error when running perl -V: Can't locate Config.pm in @INC (@INC contains: .).

      BEGIN failed--compilation aborted.
      --perl.j

        Where is perl located?

        perl -E " say $^X "

        $ copy C:\perl\5.14.1\bin\MSWin32-x86-multi-thread\perl*.dll C:\perl\5.14.1\bin\MSWin32-x86-multi-thread\perl514.dll 1 file(s) copied. $ copy C:\perl\5.14.1\bin\MSWin32-x86-multi-thread\perl.exe 1 file(s) copied. $ perl.exe -V Can't locate Config.pm in @INC (@INC contains: .). BEGIN failed--compilation aborted. $ perl.exe -Mstrict -e 1 Can't locate strict.pm in @INC (@INC contains: .). BEGIN failed--compilation aborted.