bump version to 1.19
[gitmo/Moose.git] / lib / Moose / Meta / Method / Accessor / Native / Array / sort.pm
index 510b07b..60e6520 100644 (file)
@@ -5,7 +5,7 @@ use warnings;
 
 use Params::Util ();
 
-our $VERSION = '1.15';
+our $VERSION = '1.19';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 
@@ -35,7 +35,7 @@ sub _return_value {
     my $slot_access = shift;
 
     return
-        "\$_[0] ? sort { \$_[0]->( \$a, \$b ) } \@{ ${slot_access} } : sort \@{ $slot_access }";
+        "\$_[0] ? sort { \$_[0]->( \$a, \$b ) } \@{ ($slot_access) } : sort \@{ ($slot_access) }";
 }
 
 no Moose::Role;