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

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

Replies are listed 'Best First'.
Re^6: Flummoxed by strict.pm
by CaptainRob (Novice) on May 08, 2010 at 00:24 UTC

    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.

        Thanks, BrowserUK.

        I used the .ZIP

        And you're right:

        C:\Perl64\bin>perl -le" print for @INC" C:/Perl64/site/lib C:/Perl64/lib .

        Thanks for your patience. And this thread may have worn out that patience, so I'll understand if this has bored you past the limit