Re: How to avoid circular module dependencies within a distribution?

[email protected] (David Christensen)
Newsgroups perl.module-authors
Message-ID <[email protected]>
On 10/18/2016 04:37 PM, David Mertens wrote:
> While I appreciate an articulation of best practices, I confess I've never
> been bitten by trouble with circular dependencies. However, I also never
> export constants, and it might be the case the constants declared among a
> collection of modules, and used among multiple of the same modules, could
> lead to errors. However, I can think of two distinct strategies for
> handling this that would alleviate the issue without sacrificing the
> utility of circular dependencies.
> 
> Before I go down that rabbit hole, though, perhaps you could shed some
> light on the kind of problems you've encountered before. Do you have any
> publicly visible projects in which circular dependencies caused headaches?

Thank you for your reply.


No, I don't have any publicly visible projects in which circular
dependencies caused headaches.


I would like to hear your strategies.


David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.