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

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

Replies are listed 'Best First'.
Re^5: Flummoxed by strict.pm
by BrowserUk (Patriarch) on May 07, 2010 at 23:54 UTC

    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

        The space doesn't matter, the shebang line doesn't do much on Win anyway. But, I was trying to preclude the possibility that you had Cywin installed (which does use the shebang lines) and that was interfering.

        You never answered my question about how you installed your perl. Did you use the .ZIP of the .MSI?

        What do you get from perl -le" print for @INC" (Probably just ., but worth a shot.)


        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.