Syntax checking does not work for modules (* .pm) in Perl Eclipse Plugin (EPIC)

I am using the Eclipse Perl Integration Plugin (EPIC) for development with Perl. All its functions work fine with Perl files (* .pl), but there are problems with Perl modules (* .pm) (I add them to the same project, so the project settings are the same): syntax checking on the fly does not work for them, so I don’t see any coding errors.
Is this a bug or do I need to double-check any settings?
Thank.

+3
source share
2 answers

, Perl @INC, - perl -c BEGIN.

BEGIN {
  push @INC, catdir( dirname( $INC{'ThisModule.pm'} ), qw( .. ModulesFolder1 ) );
  push @INC, catdir( dirname( $INC{'ThisModule.pm'} ), qw( .. ModulesFolder2 ) );
}

, .
__FILE__ $INC{'ThisModule.pm'}.

SO-.
EPIC.

+2

- .pl .pm, , , Epic Perl pm , , pm , open With ---> EPIC Perl Editor, :

Perleditor

EPIC perl- , eclipse , ...

+3

All Articles