# Class::MOP::Object - Base class for metaclasses - perldoc - [phpMan]

## NAME
    [Class::MOP::Object](https://www.chedong.com/phpMan.php/perldoc/Class%3A%3AMOP%3A%3AObject/markdown) - Base class for metaclasses

## VERSION
    version 2.2207

## 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](https://www.chedong.com/phpMan.php/perldoc/Class%3A%3AMOP/markdown)::???->meta
    This returns a [Class::MOP::Class](https://www.chedong.com/phpMan.php/perldoc/Class%3A%3AMOP%3A%3AClass/markdown) object.

  $metaobject->dump($max_depth)
    This method uses [Data::Dumper](https://www.chedong.com/phpMan.php/perldoc/Data%3A%3ADumper/markdown) to dump the object. You can pass an optional maximum depth, which
    will set $[Data::Dumper::Maxdepth](https://www.chedong.com/phpMan.php/perldoc/Data%3A%3ADumper%3A%3AMaxdepth/markdown). The default maximum depth is 1.

  $metaclass->throw_error($message)
    This method calls "_throw_exception" in [Class::MOP::Mixin](https://www.chedong.com/phpMan.php/perldoc/Class%3A%3AMOP%3A%3AMixin/markdown) internally, with an object of class
    [Moose::Exception::Legacy](https://www.chedong.com/phpMan.php/perldoc/Moose%3A%3AException%3A%3ALegacy/markdown).

## AUTHORS
    *   Stevan Little <<stevan@cpan.org>>

    *   Dave Rolsky <<autarch@urth.org>>

    *   Jesse Luehrs <<doy@cpan.org>>

    *   Shawn M Moore <<sartak@cpan.org>>

    *   יובל קוג'מן (Yuval Kogman) <<nothingmuch@woobling.org>>

    *   Karen Etheridge <<ether@cpan.org>>

    *   Florian Ragwitz <<rafl@debian.org>>

    *   Hans Dieter Pearcey <<hdp@cpan.org>>

    *   Chris Prather <<chris@prather.org>>

    *   Matt S Trout <<mstrout@cpan.org>>

## 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.

