From: Stevan Little Date: Thu, 13 Dec 2007 04:21:22 +0000 (+0000) Subject: slight tweak X-Git-Tag: 0_35~54 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=66e08a8a24af859f9b44dde64398400cb52a5f87;p=gitmo%2FMoose.git slight tweak --- diff --git a/lib/Moose/Meta/Class.pm b/lib/Moose/Meta/Class.pm index af5c401..860509d 100644 --- a/lib/Moose/Meta/Class.pm +++ b/lib/Moose/Meta/Class.pm @@ -110,7 +110,7 @@ sub get_method_map { my $self = shift; if (defined $self->{'$!_package_cache_flag'} && - $self->{'$!_package_cache_flag'} == Class::MOP::check_package_cache_flag(blessed $self)) { + $self->{'$!_package_cache_flag'} == Class::MOP::check_package_cache_flag($self->meta->name)) { return $self->{'%!methods'}; }