One way to break the chaos is to identify the common code used by both and put it in its own module, say, Common.pm. This could contain the "data-hash" and any functions needed by both A.pm and B.pm. A.pm and B.pm would then each have use Common;. Hopefully the dog would have one more turn and then lie down.
In reply to Re: "use" modules inside modules
by wfsp
in thread "use" modules inside modules
by bogaertb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |