X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FInstance.pm;h=17c958b684ed70c192d75e359f1b2d0f4a160e86;hb=c460adf158d4b2736a8fe137b84a44ccb6d0da94;hp=70a15e3c12ada525b4ed98ef04709105b6a2bbca;hpb=9409e92e75a6e1060eb3d0adcfc7965713d3d776;p=gitmo%2FMoose.git diff --git a/lib/Moose/Meta/Instance.pm b/lib/Moose/Meta/Instance.pm index 70a15e3..17c958b 100644 --- a/lib/Moose/Meta/Instance.pm +++ b/lib/Moose/Meta/Instance.pm @@ -4,12 +4,16 @@ package Moose::Meta::Instance; use strict; use warnings; -our $VERSION = '0.72'; +our $VERSION = '1.15'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; +use Class::MOP::MiniTrait; + use base "Class::MOP::Instance"; +Class::MOP::MiniTrait::apply(__PACKAGE__, 'Moose::Meta::Object::Trait'); + 1; __END__ @@ -26,22 +30,24 @@ Moose::Meta::Instance - The Moose Instance metaclass =head1 DESCRIPTION -This class provides the low level data storage abstractions for attributes. +This class provides the low level data storage abstractions for +attributes. + +Using this API directly in your own code violates encapsulation, and +we recommend that you use the appropriate APIs in +L and L instead. Those +APIs in turn call the methods in this class as appropriate. + +At present, this is an empty subclass of L, so +you should see that class for all API details. -Using this API generally violates attribute encapsulation and is not -recommended, instead look at L, -L, etc, as well as L -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. +=head1 INHERITANCE -See the L docs for details on the instance protocol. +C is a subclass of L. =head1 BUGS -All complex software has bugs lurking in it, and this module is no -exception. If you find a bug please either email me, or add the bug -to cpan-RT. +See L for details on reporting bugs. =head1 AUTHOR @@ -51,11 +57,11 @@ Yuval Kogman Enothingmuch@woobling.comE =head1 COPYRIGHT AND LICENSE -Copyright 2006-2009 by Infinity Interactive, Inc. +Copyright 2006-2010 by Infinity Interactive, Inc. L This library is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. +it under the same terms as Perl itself. =cut