From: Shawn M Moore Date: Sat, 28 Mar 2009 19:33:13 +0000 (-0400) Subject: Doc for class_of X-Git-Tag: 0.80~23 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=44ba77a3988d7cf655be0d2808c9dfc09856f6ca;p=gitmo%2FClass-MOP.git Doc for class_of --- diff --git a/lib/Class/MOP.pm b/lib/Class/MOP.pm index 54ee7f4..c288272 100644 --- a/lib/Class/MOP.pm +++ b/lib/Class/MOP.pm @@ -887,6 +887,12 @@ is from and the name of the C<$code> itself. This is used by several elements of the MOP to determine where a given C<$code> reference is from. +=item B + +This will return the metaclass of the given instance or class name. +Even if the class lacks a metaclass, no metaclass will be initialized +and C will be returned. + =item B B