Permalink
Browse files

avoid an "unescaped {" warning in 5.17

  • Loading branch information...
1 parent fff0e6e commit a0ba83dac104084c3bef3cf6837fff52ff4a1f65 @rjbs committed May 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/App/cpanminus/script.pm
@@ -1564,7 +1564,7 @@ sub extract_meta_prereqs {
$self->chat("Finding PREREQ from Makefile ...\n");
open my $mf, "Makefile";
while (<$mf>) {
- if (/^\#\s+PREREQ_PM => {\s*(.*?)\s*}/) {
+ if (/^\#\s+PREREQ_PM => \{\s*(.*?)\s*\}/) {
my @all;
my @pairs = split ', ', $1;
for (@pairs) {

0 comments on commit a0ba83d

Please sign in to comment.