projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
make native trait inlining work
[gitmo/Moose.git]
/
lib
/
Moose
/
Meta
/
Method
/
Accessor
/
Native
/
String
/
length.pm
diff --git
a/lib/Moose/Meta/Method/Accessor/Native/String/length.pm
b/lib/Moose/Meta/Method/Accessor/Native/String/length.pm
index
c0749a9
..
3fc8686
100644
(file)
--- a/
lib/Moose/Meta/Method/Accessor/Native/String/length.pm
+++ b/
lib/Moose/Meta/Method/Accessor/Native/String/length.pm
@@
-15,9
+15,10
@@
with 'Moose::Meta::Method::Accessor::Native::Reader' =>
sub _maximum_arguments { 0 }
sub _return_value {
- my ( $self, $slot_access ) = @_;
+ my $self = shift;
+ my ($slot_access) = @_;
- return "length $slot_access";
+ return 'length ' . $slot_access;
}
no Moose::Role;