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=a4230127c5890b4aefffbab432a57f32d3bedc0a;hpb=8e64d0fa5da64639074f77d3da9b2f7aa20cce93;p=gitmo%2FMouse.git diff --git a/lib/Mouse/Meta/Method.pm b/lib/Mouse/Meta/Method.pm index a423012..9567a28 100755 --- a/lib/Mouse/Meta/Method.pm +++ b/lib/Mouse/Meta/Method.pm @@ -1,6 +1,5 @@ package Mouse::Meta::Method; -use strict; -use warnings; +use Mouse::Util qw(:meta); # enables strict and warnings use overload '&{}' => 'body', @@ -17,7 +16,23 @@ 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; __END__ + +=head1 NAME + +Mouse::Meta::Method - A Mouse Method metaclass + +=head1 SEE ALSO + +L + +L + +=cut