From: Shawn M Moore Date: Sat, 30 May 2009 18:53:44 +0000 (-0400) Subject: Remove long, old warning about possibly outdated modules X-Git-Tag: 0.85~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e7cfb28b0b3e2b63404348eceb8d45b6a311c5bf;p=gitmo%2FClass-MOP.git Remove long, old warning about possibly outdated modules --- diff --git a/Changes b/Changes index e185727..c033d47 100644 --- a/Changes +++ b/Changes @@ -18,6 +18,9 @@ Revision history for Perl extension Class-MOP. the code reference's name is '__ANON__' (nothingmuch) - Add a hook for _superclasses_updated (Sartak) + * Class::MOP::Method + - Remove long, old warning about possibly outdated modules (Sartak) + 0.84 Tue, May 12, 2009 * Makefile.PL - Depend on Text::Exception 0.27 to avoid failing tests ond old diff --git a/lib/Class/MOP/Method.pm b/lib/Class/MOP/Method.pm index f7126e8..de34db9 100644 --- a/lib/Class/MOP/Method.pm +++ b/lib/Class/MOP/Method.pm @@ -18,15 +18,6 @@ use base 'Class::MOP::Object'; # they should act like CODE refs. use overload '&{}' => sub { $_[0]->body }, fallback => 1; -our $UPGRADE_ERROR_TEXT = q{ ---------------------------------------------------------- -NOTE: this error is likely not an error, but a regression -caused by the latest upgrade to Moose/Class::MOP. Consider -upgrading any MooseX::* modules to their latest versions -before spending too much time chasing this one down. ---------------------------------------------------------- -}; - # construction sub wrap { @@ -41,7 +32,7 @@ sub wrap { || confess "You must supply a CODE reference to bless, not (" . ($code || 'undef') . ")"; ($params{package_name} && $params{name}) - || confess "You must supply the package_name and name parameters $UPGRADE_ERROR_TEXT"; + || confess "You must supply the package_name and name parameters"; my $self = $class->_new(\%params);