summaryrefslogtreecommitdiff
path: root/configpm
diff options
context:
space:
mode:
authorRobin Barker <RMBarker@cpan.org>2004-06-09 13:02:01 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-06-09 15:57:58 +0000
commit0c6e7072ba51b7173484f5077541fbae1a031af0 (patch)
tree9492016af6ee0df505a5c53522d65d8abfb652bd /configpm
parent7d8277e26ba3dacb5d0719896027eea95e497496 (diff)
downloadperl-0c6e7072ba51b7173484f5077541fbae1a031af0.tar.gz
Re: [perl #24081] invalid regexp in perl -V
Message-ID: <533D273D4014D411AB1D00062938C4D9040468F1@hotel.npl.co.uk> with further adjustements for bleadperl p4raw-id: //depot/perl@22921
Diffstat (limited to 'configpm')
-rwxr-xr-xconfigpm2
1 files changed, 1 insertions, 1 deletions
diff --git a/configpm b/configpm
index 4f301c38fa..e27996f82b 100755
--- a/configpm
+++ b/configpm
@@ -329,7 +329,7 @@ sub config_sh {
sub config_re {
my $re = shift;
- return map { chomp; $_ } grep /^$re=/, split /^/, $Config_SH;
+ return map { chomp; $_ } grep eval{ /^(?:$re)=/ }, split /^/, $Config_SH;
}
sub config_vars {