On Mon, Feb 1, 2010 at 17:46, Patrick R. Michaud <pmich...@pobox.com> wrote:
> There's a third way: > > class B { ... } # introduce B as a class name without definition > class A { sub foo { B::bar } } > > class B { sub bar { A::foo } } > > The first line is a literal "..." in the body of the class -- it > indicates that we're only declaring the name as being a type, > and that something else will fill in the details later. > It seems to me that this doesn't really solve the problems that will occur when people start making packages independently of eachother. Of course it can be solved by submitting patches to the other developer's code, but it seems inelegant. -- Jan