Skip to content
Browse files

Adds the +{ back to force the hash context

Though it's probably not necessary.
  • Loading branch information...
1 parent d59047d commit d740fce4756d6bf59549921b200afbde5ad7cf2f @yannk committed May 12, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/App/cpanminus/script.pm
View
2 lib/App/cpanminus/script.pm
@@ -1081,7 +1081,7 @@ sub find_prereqs {
push @all, [ $pkg, $v ];
}
my $list = join ", ", map { "'$_->[0]' => $_->[1]" } @all;
- my $prereq = $self->safe_eval("no strict; { $list }");
+ my $prereq = $self->safe_eval("no strict; +{ $list }");
push @deps, %$prereq if $prereq;
last;
}

0 comments on commit d740fce

Please sign in to comment.
Something went wrong with that request. Please try again.