bump version to 1.25
[gitmo/Moose.git] / lib / Moose / Meta / Method / Accessor / Native / Hash / kv.pm
index a986e03..f5067af 100644 (file)
@@ -5,7 +5,7 @@ use warnings;
 
 use Scalar::Util qw( looks_like_number );
 
-our $VERSION = '1.14';
+our $VERSION = '1.25';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 
@@ -20,7 +20,7 @@ sub _return_value {
     my $self        = shift;
     my $slot_access = shift;
 
-    return "map { [ \$_, ${slot_access}->{\$_} ] } keys \%{ $slot_access }";
+    return "map { [ \$_, ${slot_access}->{\$_} ] } keys \%{ ($slot_access) }";
 }
 
 no Moose::Role;