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=458dbbb9e46cbe011ff35d5d69e6ddd76e87c6f1;hp=cbe349aa561c20ed0de1f0cd45478587c77da64f;hb=034587d897c53d4df84085a9229334bd2d51f1c6;hpb=1820fffecb0bd1da64edc16ecde534178b841d14 diff --git a/lib/Mouse/Meta/Method.pm b/lib/Mouse/Meta/Method.pm index cbe349a..458dbbb 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; @@ -28,8 +29,14 @@ __END__ Mouse::Meta::Method - A Mouse Method metaclass +=head1 VERSION + +This document describes Mouse version 0.40 + =head1 SEE ALSO L +L + =cut