summaryrefslogtreecommitdiff
path: root/configpm
diff options
context:
space:
mode:
authorHugo van der Sanden <hv@crypt.org>2002-09-08 13:48:49 +0000
committerhv <hv@crypt.org>2002-09-08 13:48:49 +0000
commit3905a40f663ceeef17285c01589b6dc9cce3fe88 (patch)
tree39c698011e97640cd90af661c321f801bf33d24d /configpm
parent5435c704d7cf1916b277cef1355e69cdcf35c62e (diff)
downloadperl-3905a40f663ceeef17285c01589b6dc9cce3fe88.tar.gz
#17859 misuses s/// return values
p4raw-id: //depot/perl@17860
Diffstat (limited to 'configpm')
-rwxr-xr-xconfigpm3
1 files changed, 2 insertions, 1 deletions
diff --git a/configpm b/configpm
index e0d2282ee0..f3bc3e8518 100755
--- a/configpm
+++ b/configpm
@@ -159,7 +159,8 @@ while (<CONFIG_SH>) {
next if m:^#!/bin/sh:;
# Catch PERL_CONFIG_SH=true and PERL_VERSION=n line from Configure.
- my($k, $v) = s/^(\w+)=(true|\d+)\s*$/$1='$2'\n/;
+ s/^(\w+)=(true|\d+)\s*$/$1='$2'\n/;
+ my($k, $v) = ($1, $2);
# grandfather PATCHLEVEL and SUBVERSION and CONFIG
if ($k) {