Menu

Dealing with missing modules

Help
2007-09-13
2013-05-20
  • Matt A Gregory

    Matt A Gregory - 2007-09-13

    I'm using ActiveState w/ eclipse & EPIC on windows for cross-platform perl scripting.

    Unfortunately, my @INC doesn't seem to be finding ppm managed perl modules.

    Can someone please tell me what else I need to be doing here?

    "Severity and Description    Path    Resource    Location    Creation Time    Id
    Can't locate Mail/Sender.pm in @INC (@INC contains: C:\Program Files\ActiveState Perl Dev Kit 6.0\lib\ C:/Perl/site/lib C:/Perl/lib .)    tsn workflow/tearsheets    Tearsheet_ads.pl    line 7    1189705000078    73
    "

    Directory of C:\Perl\site\lib\Mail

    09/13/2007  01:03 PM    <DIR>          .
    09/13/2007  01:03 PM    <DIR>          ..
    09/13/2007  01:03 PM    <DIR>          Sender
    09/13/2007  01:03 PM           103,207 Sender.pm

     
    • Jan Ploski

      Jan Ploski - 2007-09-13

      Use slashes instead of backslashes in paths entered in the include path dialog.
      Do "Project/Clean..." after changing include paths.
      Does the same problem occur when you run "perl -c Tearsheet_ads.pl" in a DOS box? Does it occur if you run perl -c with the appropriate -I switches?

       
      • Matt A Gregory

        Matt A Gregory - 2007-09-13

        No problems outside of epic/eclipse.  Although I did add the includes for perl/lib and perl/site/lib, I didn't add the other.  That's picked up by epic from activestate.  I don't know where to change it.

         
    • Jan Ploski

      Jan Ploski - 2007-09-13

      If you run a script which does foreach $i(@INC) { print "$i\n"; }, does it print the same include path both in EPIC and on the command line? Also, did you clean the project?

       
      • Matt A Gregory

        Matt A Gregory - 2007-09-13

        sorry, I got called away on other small fires.

        Project/clean seems to have solved this issue.  I'll keep an eye out and post more on this if it happens any more.

         

Log in to post a comment.

MongoDB Logo MongoDB