From: Shawn M Moore Date: Wed, 7 Jan 2009 14:48:22 +0000 (+0000) Subject: API documentation for get_meta X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=480d758bd5f4eff862f8c49971adcc3d05d6f7d8;p=gitmo%2FClass-MOP.git API documentation for get_meta --- diff --git a/lib/Class/MOP.pm b/lib/Class/MOP.pm index 20ae1bf..7c7be62 100644 --- a/lib/Class/MOP.pm +++ b/lib/Class/MOP.pm @@ -1001,6 +1001,12 @@ C<$name> key and return false otherwise. This will remove a the metaclass stored in the C<$name> key. +=item B + +This will return a cached B instance for the given +C<$instance> (which may be a class name) This should be used instead of +C<< $instance->meta >> in the MOP and its extensions. + =back =head1 SEE ALSO