From: Shawn M Moore Date: Tue, 31 Mar 2009 03:48:09 +0000 (-0400) Subject: Make HAVE_ISAREV warn X-Git-Tag: 0.80~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f9bd8fe22408de242b1af6ba1e3407a145abdc97;p=gitmo%2FClass-MOP.git Make HAVE_ISAREV warn --- diff --git a/lib/Class/MOP.pm b/lib/Class/MOP.pm index 2ca8d17..1ae22d2 100644 --- a/lib/Class/MOP.pm +++ b/lib/Class/MOP.pm @@ -24,7 +24,10 @@ BEGIN { ? sub () { 0 } : sub () { 1 }; - sub HAVE_ISAREV () { 1 } + sub HAVE_ISAREV () { + warn "Class::MOP::HAVE_ISAREV is deprecated and will be removed in a future release. It has always returned 1 anyway."; + return 1; + } # this is either part of core or set up appropriately by MRO::Compat *check_package_cache_flag = \&mro::get_pkg_gen;