X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=lib%2FMouse%2FMeta%2FMethod%2FConstructor.pm;h=8b3f3a17f905f8e2b085715f02f4b49fd4d61294;hp=a11479d40e345493a34697135c8f16f4799a283d;hb=88b6c018ca804f12a431dacf12bb52d0df169e4c;hpb=51212d90d006b7d5b497f54b805482f9b14e34e7 diff --git a/lib/Mouse/Meta/Method/Constructor.pm b/lib/Mouse/Meta/Method/Constructor.pm index a11479d..8b3f3a1 100644 --- 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";