On Mon, Jun 14, 2010 at 11:20:15AM +0200, Emmanuel Quevillon wrote:
> Hi Moose people,
> 
> I must confess I'm not really ease with Moose behavior, but I get a
> strange error from it when I start my perl script.
> 
> Here it is :
> 
> Couldn't load class (BiblioList::Abstract) because: Couldn't load
> class (BiblioList::Root) because: BiblioList::Root already has a
> metaclass, but it does not inherit Moose::Meta::Class
> (Class::MOP::Class=HASH(0x2e79840)). at
> /usr/local/lib/perl/5.10.1/Moose.pm line 166

You should include the code that's causing this error; it's not really
possible to figure out what's wrong just from the message. Some
possibilities include a circular dependency between use/extends/etc
statements, or some part of the code accessing the BiblioList::Root
class before it actually gets loaded.

-doy

Reply via email to