I have a project that includes files that reference a .pm in a folder not included in the project. Even though I have included the path to that .pm in the project properties "Perl Include Path", the Problems window shows the error "Can't locate myexternal.pm in @INC (@INC contains: C:/Perl/Lib C:/Perl/site/lib)". What do I need to do to have the warning correctly show @INC that includes my additional search paths?
I have tried both forward- and backward-slashes in the Perl Include Path entries. Neither seems to change this.
I'm using EPIC 0.5.24, Eclipse 3.2.1.
Thanks for any assistance.
-Dennis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, mystery solved, and I'm pleased to report it was a rookie error and nothing to do with EPIC. The error message was being generated by a separate project, whose @INC had not been changed. (I am sorry to have posted an erroneous question).
I do have a followup question - if I wanted to manually run the syntax check (i.e. from a console rather than from within Eclipse), what is the command for that?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a project that includes files that reference a .pm in a folder not included in the project. Even though I have included the path to that .pm in the project properties "Perl Include Path", the Problems window shows the error "Can't locate myexternal.pm in @INC (@INC contains: C:/Perl/Lib C:/Perl/site/lib)". What do I need to do to have the warning correctly show @INC that includes my additional search paths?
I have tried both forward- and backward-slashes in the Perl Include Path entries. Neither seems to change this.
I'm using EPIC 0.5.24, Eclipse 3.2.1.
Thanks for any assistance.
-Dennis
Please see the debugging suggestion in thread https://sourceforge.net/forum/forum.php?thread_id=1626716&forum_id=258688
Well, mystery solved, and I'm pleased to report it was a rookie error and nothing to do with EPIC. The error message was being generated by a separate project, whose @INC had not been changed. (I am sorry to have posted an erroneous question).
I do have a followup question - if I wanted to manually run the syntax check (i.e. from a console rather than from within Eclipse), what is the command for that?
The command is "perl -c". Of course, you also need to specify your include path if you try it (for example "perl -I c:/this -I c:/that -c script.pl").
Thanks! Just what I needed.