2 package Class::MOP::Object;
7 use Scalar::Util 'blessed';
10 our $AUTHORITY = 'cpan:STEVAN';
15 require Class::MOP::Class;
16 Class::MOP::Class->initialize(blessed($_[0]) || $_[0]);
20 # Cmon, how many times have you written
21 # the following code while debugging:
26 # It can get seriously annoying, so why
27 # not just do this ...
31 $Data::Dumper::Maxdepth = shift || 1;
32 Data::Dumper::Dumper $self;
43 Class::MOP::Object - Object Meta Object
47 This class is basically a stub, it provides no functionality at all,
48 and really just exists to make the Class::MOP metamodel complete.
54 +-----| Class::MOP::Class |
55 | +-------------------+
58 +--------------------+ : +--------------------+
59 | Class::MOP::Module | : | Class::MOP::Object |
60 +--------------------+ : +--------------------+
63 | +---------------------+ |
64 +--->| Class::MOP::Package |-----+
65 +---------------------+
68 ..(is an instance of)..>
69 --(is a subclass of)-->
71 A deeper discussion of this model is currently beyond the scope of
80 =item B<dump (?$max_depth)>
86 Stevan Little E<lt>stevan@iinteractive.comE<gt>
88 =head1 COPYRIGHT AND LICENSE
90 Copyright 2006 by Infinity Interactive, Inc.
92 L<http://www.iinteractive.com>
94 This library is free software; you can redistribute it and/or modify
95 it under the same terms as Perl itself.