Compile errors produced when files 'use' each other and use MooseX classes and has statements.
You seem to have CSS turned off.
Please don't fill out this field.
When viewed in Eclipse/EPIC the attached files report a comiple error, and yet the code runs OK. The problem occurs only with the recursive 'uses' statements and the 'has' statement.
EPIC debug 0.6.27
EPIC Editor 0.6.24
EPIC source pluin 0.6.35
As our project grows, this is getting to be a significant annoyance, in that many of the files are marked as errored. All of the perl code does however run with no errors. I have rechecked with EPIC 0.6.36 in windows, and with the latest Perl 5.10.1 (with and without the cwd.pm file fix) and all packages at the current release as of 26/6/2010.
Workaround found. Strictly this is probably a Perl::MooseX issue in that the error also occurs if the pm file is built outside of Eclipse, which is why Eclipse flags it up as an error. The fix is to insert a 'use Moose;' line immediately before the has statement in those modules where the error occurs.