Class::MOP::Object - Base class for metaclasses



NAME

Class::MOP::Object - Base class for metaclasses


VERSION

version 2.1605


DESCRIPTION

This class is a very minimal base class for metaclasses.


METHODS

This class provides a few methods which are useful in all metaclasses.

Class::MOP::???->meta

This returns a the Class::MOP::Class manpage object.

$metaobject->dump($max_depth)

This method uses the Data::Dumper manpage to dump the object. You can pass an optional maximum depth, which will set $Data::Dumper::Maxdepth. The default maximum depth is 1.

$metaclass->throw_error($message)

This method calls _throw_exception in the Class::MOP::Mixin manpage internally, with an object of class the Moose::Exception::Legacy manpage.


AUTHORS


COPYRIGHT AND LICENSE

This software is copyright (c) 2006 by Infinity Interactive, Inc.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

 Class::MOP::Object - Base class for metaclasses