X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse%2FMeta%2FMethod.pm;h=9567a28edb2fd5fa429d0ac04da0d2d65b42c025;hb=8d59c7239b90bb75b0187decbed09c6952e2b4a5;hp=cbe349aa561c20ed0de1f0cd45478587c77da64f;hpb=1820fffecb0bd1da64edc16ecde534178b841d14;p=gitmo%2FMouse.git diff --git a/lib/Mouse/Meta/Method.pm b/lib/Mouse/Meta/Method.pm index cbe349a..9567a28 100755 --- a/lib/Mouse/Meta/Method.pm +++ b/lib/Mouse/Meta/Method.pm @@ -1,8 +1,5 @@ package Mouse::Meta::Method; -use strict; -use warnings; - -use Mouse::Util qw(:meta); +use Mouse::Util qw(:meta); # enables strict and warnings use overload '&{}' => 'body', @@ -19,6 +16,10 @@ sub body { $_[0]->{body} } sub name { $_[0]->{name} } sub package_name{ $_[0]->{package} } +sub fully_qualified_name { + my $self = shift; + return $self->package_name . '::' . $self->name; +} 1; @@ -32,4 +33,6 @@ Mouse::Meta::Method - A Mouse Method metaclass L +L + =cut