#595 Redefined subroutine warnings when classes have circular use

v0.6.x
open
nobody
Editor (234)
5
2010-08-12
2010-08-12
Anonymous
No

Assuming two packages looking like the following:

#############
package A;
use strict;
use warnings;
use B;
sub a { }
1;
#############
package B;
use strict;
use warnings;
use A;
sub b { }
1;
#############

When put into EPIC the subroutines will be highlighted as being redefined. It sees EPIC is doing a perl -wc on the file once it is saved rather than doing perl -wc -MA -e '1' i.e. to test that the module can be used correctly not that the syntax of the file is correct.

Discussion