Class::MOP::Object

Section: User Contributed Perl Documentation (3)
Updated: 2018-05-16
Page Index
 

NAME

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

VERSION

version 2.2011  

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.  

AUTHORS

Stevan Little <stevan.little@iinteractive.com>
Dave Rolsky <autarch@urth.org>
Jesse Luehrs <doy@tozt.net>
Shawn M Moore <code@sartak.org>
יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>
Karen Etheridge <ether@cpan.org>
Florian Ragwitz <rafl@debian.org>
Hans Dieter Pearcey <hdp@weftsoar.net>
Chris Prather <chris@prather.org>
Matt S Trout <mst@shadowcat.co.uk>
 

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.


 

Index

NAME
VERSION
DESCRIPTION
METHODS
Class::MOP::???->meta
$metaobject->dump($max_depth)
$metaclass->throw_error($message)
AUTHORS
COPYRIGHT AND LICENSE
LinuxReviews : manual page archive : man3pm