X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FInstance.pm;h=a31961a83d660afc6959e725826e4b91a3b7c4ba;hb=35085ce3c9cab4142494ccd3b2ca498cb0703f17;hp=0e9baac7dce6548f3b2b23111747bf16d498f668;hpb=1dc5ef70c3d58834c76e3294791529bdc64e2b75;p=gitmo%2FMoose.git diff --git a/lib/Moose/Meta/Instance.pm b/lib/Moose/Meta/Instance.pm index 0e9baac..a31961a 100644 --- a/lib/Moose/Meta/Instance.pm +++ b/lib/Moose/Meta/Instance.pm @@ -4,11 +4,16 @@ package Moose::Meta::Instance; use strict; use warnings; -our $VERSION = '0.01'; +our $VERSION = '1.14'; +$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__ @@ -25,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 -reccomended, instead look at L, -L, etc, as well as L -for the reccomended way to fiddle with attribute values in a generic way, -independant 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 @@ -50,11 +57,11 @@ Yuval Kogman Enothingmuch@woobling.comE =head1 COPYRIGHT AND LICENSE -Copyright 2006-2008 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