refactor constructor inlining to reuse attribute code
[gitmo/Moose.git] / lib / Moose / Meta / Method / Accessor / Native / Array / first.pm
index bb3b687..5d4482b 100644 (file)
@@ -42,7 +42,7 @@ sub _return_value {
     my $self = shift;
     my ($slot_access) = @_;
 
-    return '&List::Util::first( $_[0], @{ (' . $slot_access . ') } )';
+    return '&List::Util::first($_[0], @{ (' . $slot_access . ') })';
 }
 
 no Moose::Role;