summaryrefslogtreecommitdiff
path: root/win32/config_h.PL
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-07-20 00:28:27 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-07-20 00:28:27 +0000
commit66aa112777772c23def2489c956f8681aeef1be1 (patch)
treee2b68cdbea406234ff7c43d2231320be5a80e894 /win32/config_h.PL
parentbdda3fbd757cd1d51073d4e041d25f173c8b2f82 (diff)
downloadperl-66aa112777772c23def2489c956f8681aeef1be1.tar.gz
misc win32 config tweaks
p4raw-id: //depot/perl@1573
Diffstat (limited to 'win32/config_h.PL')
-rw-r--r--win32/config_h.PL4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/config_h.PL b/win32/config_h.PL
index 62a83dcc4a..617b996cdb 100644
--- a/win32/config_h.PL
+++ b/win32/config_h.PL
@@ -12,8 +12,8 @@ while (@ARGV && $ARGV[0] =~ /^([\w_]+)=(.*)$/)
shift(@ARGV);
}
my $patchlevel = $opt{INST_VER};
-$patchlevel = s|^[\\/]||;
-$patchlevel = s|~VERSION~|$]|g;
+$patchlevel =~ s|^[\\/]||;
+$patchlevel =~ s|~VERSION~|$]|g;
$patchlevel ||= $];
$patchlevel = qq["$patchlevel"];