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=9c0b5e3477fed978ed4006b3dfcc5222abb66d04;hb=034587d897c53d4df84085a9229334bd2d51f1c6;hpb=53875581c2449e237cc1135b8c2cf1674a874aed diff --git a/lib/Mouse/Meta/Method.pm b/lib/Mouse/Meta/Method.pm index 9c0b5e3..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,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.40 + +=head1 SEE ALSO + +L + +L + +=cut