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=78552b97a12d8e6ed5bef694c4aa4f2ae7eb1b1e;hpb=03e7dbecf3e631d5fb5884b16e3eafe4c14624c3;p=gitmo%2FMoose.git diff --git a/lib/Moose/Meta/Instance.pm b/lib/Moose/Meta/Instance.pm index 78552b9..17c958b 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.53'; +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__ @@ -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 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 @@ -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