mutual dependencies

faranwannsee wrote on Thu Dec  6 17:30:51 CET 2007:
Hi all!
I have a little problem with mutual dependency. A short example for the
problem is the following:

File Hallo1.pm:

package Hallo1;
use Hallo2;
1;


File Hallo2.pm:

package Hallo2;
use Hallo1; #<<
jploski wrote on Thu Dec  6 19:59:59 CET 2007:
Have you done Project/Clean...?
faranwannsee wrote on Fri Dec  7 09:16:09 CET 2007:
Hey, it works!!! THANK YOU!! But why this works?
jploski wrote on Fri Dec  7 19:09:30 CET 2007:
It works because it forces EPIC to compile every Perl file in the project.
Normally, compilation is only performed for files when they are updated,
which does not take into account that other files may be also affected by
changes. This is a "known problem" in EPIC, which is difficult to solve
in general, but as you can see there is an easy workaround.

Note: The above is an archived snapshot of a forum thread. Use the original thread at sf.net to post comments.