logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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>

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 Class::MOP::Class object.

   $metaobject->dump($max_depth)
       This method uses Data::Dumper 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 Class::MOP::Mixin internally, with an object of class
       Moose::Exception::Legacy.

Name

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

Version

       version 2.2207

See Also