From: Chris Prather Date: Wed, 29 Apr 2009 05:38:19 +0000 (-0400) Subject: add back in documentation for in_global_destruction and subname since we are using... X-Git-Tag: 0.84~28 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=04ac8ae7106b0baa284df1d71ea975d739e3ed3e;p=gitmo%2FClass-MOP.git add back in documentation for in_global_destruction and subname since we are using them as such everywhere else, they should either be public and documented or private and not --- diff --git a/lib/Class/MOP.pm b/lib/Class/MOP.pm index 168f8b5..4d8e8fb 100644 --- a/lib/Class/MOP.pm +++ b/lib/Class/MOP.pm @@ -940,6 +940,19 @@ 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 + +Will return true if we're currently in Global Destruction. This is currently +passed through from L's +function of the same name + +=item B + +Allows you to provide an informative name to a subroutine for things like Carp +and caller. This allows easier debugging of closures as well as anonymous +subroutines. Currently this is passed through from L's +function of the same name. + =item B B