----- Original Message ----

> From: Chris Prather <perig...@gmail.com>

> > Once I put those four lines together, the following test fails:
> >
> >  isa_ok +My::Role::Example->meta, 'MooseX::Meta::Role::Strict';
> >
> > With the following error message:
> >
> >  not ok 1 - The object isa MooseX::Meta::Role::Strict
> >  #   Failed test 'The object isa MooseX::Meta::Role::Strict'
> >  #   at t/override.t line 17.
> >  #     The object isn't a 'MooseX::Meta::Role::Strict' it's a 
> 'Moose::Meta::Role'
> >
> > So once I jump through all of the hoops I thought I needed, I've found that 
> I've not set the metaclass.  What am I doing wrong?
> 
> I was just about to reply to this when I saw one of the gumby's
> annouce the upload. Are you still having problems?


Haven't tried again.  I went ahead and used &init_meta to set the metaclass and 
my code worked just fine.

 
Cheers,
Ovid
--
Buy the book         - http://www.oreilly.com/catalog/perlhks/
Tech blog            - http://use.perl.org/~Ovid/journal/
Twitter              - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6

Reply via email to