Class::MOP::Object - Object Meta Object
This class is basically a stub, it provides no functionality at all, and really just exists to make the Class::MOP metamodel complete.
...... : : : v +-------------------+ +-----| Class::MOP::Class | | +-------------------+ | ^ ^ ^ v : : : +--------------------+ : +--------------------+ | Class::MOP::Module | : | Class::MOP::Object | +--------------------+ : +--------------------+ | : ^ | : | | +---------------------+ | +--->| Class::MOP::Package |-----+ +---------------------+ legend: ..(is an instance of)..> --(is a subclass of)--->
A deeper discussion of this model is currently beyond the scope of this documenation.
This will require the Data::Dumper module and then dump a representation of your object. It passed the $max_depth arg to $Data::Dumper::Maxdepth. The default $max_depth is 1, so it will not go crazy and print a massive bunch of stuff. Adjust this as nessecary.
require
$max_depth
$Data::Dumper::Maxdepth
Stevan Little <stevan@iinteractive.com>
Copyright 2006-2008 by Infinity Interactive, Inc.
http://www.iinteractive.com
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Class::MOP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Class::MOP
CPAN shell
perl -MCPAN -e shell install Class::MOP
For more information on module installation, please visit the detailed CPAN module installation guide.