On 4/26/2004 12:01 PM, 3li Marion wrote:

I encounter a very strange problem with interactions between main program
and several modules.

If there is no interaction between modules (module1 calling module2 and
module2 calling module1) there is no problem with any sub  each module.

But if the mod1 uses 'use mod2' and mod2 uses 'use mod1' then mod2 can't
find any sub of mod1.

Circular references between modules generally indicates a design flaw. Reconsider your design if possible; either it should be kept as one module or the two modules are too tightly coupled.


Randy.



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to