projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
refactor constructor inlining to reuse attribute code
[gitmo/Moose.git]
/
lib
/
Moose
/
Meta
/
Method
/
Accessor
/
Native
/
Array
/
first.pm
diff --git
a/lib/Moose/Meta/Method/Accessor/Native/Array/first.pm
b/lib/Moose/Meta/Method/Accessor/Native/Array/first.pm
index
bb3b687
..
5d4482b
100644
(file)
--- a/
lib/Moose/Meta/Method/Accessor/Native/Array/first.pm
+++ b/
lib/Moose/Meta/Method/Accessor/Native/Array/first.pm
@@
-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;