From: Dave Rolsky Date: Wed, 23 Feb 2011 03:49:23 +0000 (-0600) Subject: Small style tweaks X-Git-Tag: v0.13~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=93a34553840cea4a0dd767248613f775db2d834f;p=gitmo%2FMooseX-StrictConstructor.git Small style tweaks --- diff --git a/lib/MooseX/StrictConstructor/Trait/Class.pm b/lib/MooseX/StrictConstructor/Trait/Class.pm index bfda93a..f3d2850 100644 --- a/lib/MooseX/StrictConstructor/Trait/Class.pm +++ b/lib/MooseX/StrictConstructor/Trait/Class.pm @@ -23,7 +23,7 @@ around '_inline_BUILDALL' => sub { return ( @source, - 'my %attrs = (' . join(' ', @attrs) . ');', + 'my %attrs = (' . ( join ' ', @attrs ) . ');', 'my @bad = sort grep { !$attrs{$_} } keys %{ $params };', 'if (@bad) {', 'Carp::confess "Found unknown attribute(s) passed to the constructor: @bad";',