bump version to 1.25
[gitmo/Moose.git] / lib / Moose / Meta / Method / Accessor / Native / Array / sort_in_place.pm
index c412c13..25b5892 100644 (file)
@@ -5,7 +5,7 @@ use warnings;
 
 use Params::Util ();
 
-our $VERSION = '1.16';
+our $VERSION = '1.25';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 
@@ -37,7 +37,7 @@ sub _potential_value {
     my ( $self, $slot_access ) = @_;
 
     return
-        "[ \$_[0] ? sort { \$_[0]->( \$a, \$b ) } \@{ $slot_access } : sort \@{ $slot_access} ]";
+        "[ \$_[0] ? sort { \$_[0]->( \$a, \$b ) } \@{ ($slot_access) } : sort \@{ ($slot_access) } ]";
 }
 
 sub _return_value { return q{} }