projects
/
gitmo/Mouse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix has()
[gitmo/Mouse.git]
/
lib
/
Mouse
/
Role.pm
diff --git
a/lib/Mouse/Role.pm
b/lib/Mouse/Role.pm
index
56b90b7
..
81208d5
100644
(file)
--- a/
lib/Mouse/Role.pm
+++ b/
lib/Mouse/Role.pm
@@
-49,7
+49,7
@@
sub has {
}
}
else{ # has foo => (...)
- $meta->add_attribute($_ => @_);
+ $meta->add_attribute($name => @_);
}
return;
}