Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^3: @INC Errors

by chromatic (Archbishop)
on Oct 09, 2011 at 21:39 UTC ( #930500=note: print w/replies, xml ) Need Help??

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 in @INC (@INC contains: .).

    BEGIN failed--compilation aborted.

      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 in @INC (@INC contains: .). BEGIN failed--compilation aborted. $ perl.exe -Mstrict -e 1 Can't locate in @INC (@INC contains: .). BEGIN failed--compilation aborted.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://930500]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2016-10-26 17:22 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (344 votes). Check out past polls.