On Fri, 27 Aug 2004 09:19:03 -0500, Mark Stosberg wrote:
> On Fri, Aug 27, 2004 at 09:52:16AM -0400, John Siracusa wrote:
> > If module A uses module B, but module B also uses module A, what do I put in
> > PREREQ_PM?  Will the CPAN shell be able to handle a circular dependency?
> 
> As I understand, module A is downloaded before it is unpacked to
> discover that it depends on module B. So even if B depends on A, you
> already have A, so it's not a problem.

"Already have" means that it's somewhere in @INC, or just downloaded and
unpacked into the CPAN temp dir?

> Assuming that I'm correct, the problem is only avoided because of the
> current system design. If the meta data of both was downloaded first,
> that could be a potential problem.

Hm, I wonder if any existing CPAN modules have circular dependencies...

-John


Reply via email to