From: Stevan Little Date: Mon, 21 May 2007 16:57:19 +0000 (+0000) Subject: foo X-Git-Tag: 0_38~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=804f7d24a1d915091c94017734c78ab5cbdfa181;p=gitmo%2FClass-MOP.git foo --- diff --git a/lib/Class/MOP/Class.pm b/lib/Class/MOP/Class.pm index cbd80de..f75f20d 100644 --- a/lib/Class/MOP/Class.pm +++ b/lib/Class/MOP/Class.pm @@ -420,7 +420,7 @@ sub add_method { $method = $self->find_next_method_by_name($method_name); # die if it does not exist (defined $method) - || confess "The method '$method_name' is not found in the inherience hierarchy for class " . $self->name; + || confess "The method '$method_name' is not found in the inheritance hierarchy for class " . $self->name; # and now make sure to wrap it # even if it is already wrapped # because we need a new sub ref