X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=lib%2FMouse%2FMeta%2FMethod.pm;h=a1f4a4198454e657b53c252aec697a0ec5996824;hp=a4230127c5890b4aefffbab432a57f32d3bedc0a;hb=06a970ab9fb60a4cac5e3f1774cf9a2914c94cc1;hpb=8e64d0fa5da64639074f77d3da9b2f7aa20cce93 diff --git a/lib/Mouse/Meta/Method.pm b/lib/Mouse/Meta/Method.pm index a423012..a1f4a41 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,27 @@ 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 VERSION + +This document describes Mouse version 0.38 + +=head1 SEE ALSO + +L + +L + +=cut