How do I make a new Moose class and instantiate an object of that class at runtime?

Posted by xxxxxxx on Stack Overflow See other posts from Stack Overflow or by xxxxxxx
Published on 2010-03-10T07:11:05Z Indexed on 2010/03/28 19:03 UTC
Read the original article Hit count: 459

Filed under:
|
|
|
|

After creating a metaclass using Moose::Meta::Class->create, how do I instantiate a real Moose class with that class as a metaclass? (I need to create the metaclass also because I also want to apply some roles to it.)

© Stack Overflow or respective owner

Related posts about perl

Related posts about moose