projects
/
gitmo/Mouse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Remove third argument to trigger
[gitmo/Mouse.git]
/
lib
/
Mouse
/
Meta
/
Method
/
Constructor.pm
diff --git
a/lib/Mouse/Meta/Method/Constructor.pm
b/lib/Mouse/Meta/Method/Constructor.pm
index
a11479d
..
8b3f3a1
100644
(file)
--- a/
lib/Mouse/Meta/Method/Constructor.pm
+++ b/
lib/Mouse/Meta/Method/Constructor.pm
@@
-64,7
+64,7
@@
sub _generate_processattrs {
}
if ($attr->has_trigger) {
- $code .= "\$attrs[$index]->{trigger}->( \$instance, \$value, \$attrs[$index] );\n";
+ $code .= "\$attrs[$index]->{trigger}->( \$instance, \$value );\n";
}
$code .= "\n} else {\n";