From: Hans Dieter Pearcey Date: Thu, 25 Jun 2009 22:05:29 +0000 (-0400) Subject: default curried_arguments to [] X-Git-Tag: 0.89_02~127 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=803eb90b9571e67f9121aa5fb2d9409e3fe1b72c;p=gitmo%2FMoose.git default curried_arguments to [] --- diff --git a/lib/Moose/Meta/Attribute.pm b/lib/Moose/Meta/Attribute.pm index bf599be..c3083ee 100644 --- a/lib/Moose/Meta/Attribute.pm +++ b/lib/Moose/Meta/Attribute.pm @@ -701,7 +701,7 @@ sub _make_delegation_method { package_name => $self->associated_class->name, attribute => $self, delegate_to_method => $method_to_call, - curried_arguments => $curried_arguments, + curried_arguments => $curried_arguments || [], ); }