Add a message in Makefile.PL
[gitmo/Mouse.git] / lib / Mouse.pm
index 4449900..06a13a4 100644 (file)
@@ -54,7 +54,7 @@ sub has {
         }
     }
     else{ # has foo => (...)
-        $meta->add_attribute($_ => @_);
+        $meta->add_attribute($name => @_);
     }
     return;
 }