diff options
author | Hugo van der Sanden <hv@crypt.org> | 2002-09-08 13:48:49 +0000 |
---|---|---|
committer | hv <hv@crypt.org> | 2002-09-08 13:48:49 +0000 |
commit | 3905a40f663ceeef17285c01589b6dc9cce3fe88 (patch) | |
tree | 39c698011e97640cd90af661c321f801bf33d24d /configpm | |
parent | 5435c704d7cf1916b277cef1355e69cdcf35c62e (diff) | |
download | perl-3905a40f663ceeef17285c01589b6dc9cce3fe88.tar.gz |
#17859 misuses s/// return values
p4raw-id: //depot/perl@17860
Diffstat (limited to 'configpm')
-rwxr-xr-x | configpm | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) { |