in reply to Re^2: Flummoxed by strict.pm
in thread Flummoxed by strict.pm

And if you do

dir C:\Perl64\lib\s*.pm

Replies are listed 'Best First'.
Re^4: Flummoxed by strict.pm
by CaptainRob (Novice) on May 07, 2010 at 22:54 UTC

    Thanks, BrowserUK.

    strict.pm appears to be there, but I still get the same error message

    Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\Captain Rob>cd.. C:\Users>cd.. C:\>cd perl64 C:\Perl64>cd bin C:\Perl64\bin>entities_99.pl Can't locate strict.pm in @INC (@INC contains: .) at C:\Perl64\bin\ent +ities_99.p l line 2. BEGIN failed--compilation aborted at C:\Perl64\bin\entities_99.pl line + 2. C:\Perl64\bin>dir C:\Perl64\lib\s*.pm Volume in drive C is Gateway Volume Serial Number is 12E4-B021 Directory of C:\Perl64\lib 11/30/2009 03:28 PM 19,698 Safe.pm 06/13/2006 01:29 PM 2,631 SDBM_File.pm 07/03/2009 04:42 PM 1,130 SelectSaver.pm 10/25/2008 03:50 AM 17,776 SelfLoader.pm 04/11/2007 07:12 AM 8,955 Shell.pm 02/25/2007 09:01 AM 7,900 sigtrap.pm 07/03/2009 04:42 PM 10,398 Socket.pm 09/03/2006 06:52 AM 6,289 sort.pm 08/05/2009 11:25 PM 40,995 Storable.pm 10/10/2007 02:19 AM 3,863 strict.pm 06/13/2006 01:29 PM 882 subs.pm 10/23/2009 01:52 AM 28,456 Switch.pm 02/25/2009 02:37 PM 4,964 Symbol.pm 13 File(s) 153,937 bytes 0 Dir(s) 857,551,073,280 bytes free C:\Perl64\bin>

    Thanks again for your interest and time

      Sorry for the 20 questions, but that's remote debugging. What happens if you change the first line to just:#! perl?

        A glutton for Newbie punishment, you are, BrowserUK

        But I appreciate it nonetheless

        This for two ways:(Wasn't sure about the space

        #! perl
        #!perl

        so, same-o, same-o:

        C:\Perl64\bin>en Can't locate strict.pm in @INC (@INC contains: .) at C:\Perl64\bin\ent +ities_99.p l line 2. C:\Perl64\bin>en Can't locate strict.pm in @INC (@INC contains: .) at C:\Perl64\bin\ent +ities_99.p l line 2.

        Thanks again for your help. It can be 100 questions

Re^4: Flummoxed by strict.pm
by Anonymous Monk on Mar 08, 2012 at 09:09 UTC
    I had a similar problem. I was getting this error: Can't locate strict.pm in @INC (@INC contains: C:/Perl64/site/lib C:/Perl64/lib .) at -e line 1. BEGIN failed--compilation aborted at -e line 1. perl64\lib did not have strict.pm (and many other files were also missing - i dont know how). A clean re-install fixed the issue. Thanks for posting this check. -Nishant