use Scalar::Util 'weaken', 'blessed';
-our $VERSION = '0.04';
+our $VERSION = '0.63';
our $AUTHORITY = 'cpan:STEVAN';
-sub meta {
- require Class::MOP::Class;
- Class::MOP::Class->initialize(blessed($_[0]) || $_[0]);
-}
+use base 'Class::MOP::Object';
sub new {
my ($class, $meta, @attrs) = @_;
The meta instance is used by attributes for low level storage.
Using this API generally violates attribute encapsulation and is not
-reccomended, instead look at L<Class::MOP::Attribute/get_value>,
-L<Class::MOP::Attribute/set_value> for the reccomended way to fiddle with
-attribute values in a generic way, independant of how/whether accessors have
+recommended, instead look at L<Class::MOP::Attribute/get_value>,
+L<Class::MOP::Attribute/set_value> for the recommended way to fiddle with
+attribute values in a generic way, independent of how/whether accessors have
been defined. Accessors can be found using L<Class::MOP::Class/get_attribute>.
This may seem like over-abstraction, but by abstracting
=back
-=head2 Instrospection
+=head2 Introspection
NOTE: There might be more methods added to this part of the API,
we will add then when we need them basically.