Beginning of dzilization
[gitmo/Moose.git] / lib / Moose / Meta / Method / Accessor / Native / String / length.pm
index 4080f72..3f063ea 100644 (file)
@@ -3,8 +3,6 @@ package Moose::Meta::Method::Accessor::Native::String::length;
 use strict;
 use warnings;
 
-our $VERSION = '1.16';
-$VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 
 use Moose::Role;
@@ -15,9 +13,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;