Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

avoid warning on 5.17.0 #156

Merged
merged 1 commit into from

2 participants

@rjbs

In 5.17, it is becoming a warning to have free-floating { in regex.

This patch (plus a regen of cpanm, which I have not performed) should silence the only occurrence of the warning.

@miyagawa miyagawa merged commit 5d26797 into miyagawa:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 26, 2012
  1. @rjbs
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/App/cpanminus/script.pm
View
2  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) {
Something went wrong with that request. Please try again.