From: Dave Rolsky Date: Thu, 11 Sep 2008 15:17:16 +0000 (+0000) Subject: s/$code/$self/g for consistency X-Git-Tag: 0.66~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0bbd94dfa1e510445a7c2e8ba3dbf7301023a972;p=gitmo%2FClass-MOP.git s/$code/$self/g for consistency --- diff --git a/lib/Class/MOP/Method.pm b/lib/Class/MOP/Method.pm index fb90eda..37af5a1 100644 --- a/lib/Class/MOP/Method.pm +++ b/lib/Class/MOP/Method.pm @@ -84,8 +84,8 @@ sub package_name { (shift)->{'package_name'} } sub name { (shift)->{'name'} } sub fully_qualified_name { - my $code = shift; - $code->package_name . '::' . $code->name; + my $self = shift; + $self->package_name . '::' . $self->name; } # NOTE: