s/$code/$self/g for consistency
Dave Rolsky [Thu, 11 Sep 2008 15:17:16 +0000 (15:17 +0000)]
lib/Class/MOP/Method.pm

index fb90eda..37af5a1 100644 (file)
@@ -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: