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

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.

Replies are listed 'Best First'.
Re^4: @INC Errors
by perl.j (Pilgrim) on Oct 10, 2011 at 09:37 UTC

    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.