summaryrefslogtreecommitdiff
path: root/configpm
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-30 21:32:36 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-30 21:32:36 +0000
commit5089c844b09b4bf70ddcc69a1b2c187381eabf0c (patch)
tree9fbd94983a1232305f15a2f045780153c11cdfc8 /configpm
parentc9ce37aecd0e1f7271370137e323df19ca939619 (diff)
downloadperl-5089c844b09b4bf70ddcc69a1b2c187381eabf0c.tar.gz
change#4705 breaks code that interpolates $], so leave string value
of $] as it was for compatibility (and perhaps introduce $^V or similar for the utf8 representation, maybe?) p4raw-link: @4705 on //depot/utfperl: a7cb1f9979dd83ab32266dc555f72f0939829c3f p4raw-id: //depot/perl@4742
Diffstat (limited to 'configpm')
-rwxr-xr-xconfigpm4
1 files changed, 2 insertions, 2 deletions
diff --git a/configpm b/configpm
index f57ef0b9e2..8c53dbb724 100755
--- a/configpm
+++ b/configpm
@@ -17,7 +17,7 @@ my $glossary = $ARGV[1] || 'Porting/Glossary';
open CONFIG, ">$config_pm" or die "Can't open $config_pm: $!\n";
-$myver = 0+$];
+$myver = $];
print CONFIG <<'ENDOFBEG_NOQ', <<"ENDOFBEG";
package Config;
@@ -39,7 +39,7 @@ sub import {
ENDOFBEG_NOQ
\$] == $myver
- or die "Perl lib version ($myver) doesn't match executable version (" . 0+\$] . ")";
+ or die "Perl lib version ($myver) doesn't match executable version (\$])";
# This file was created by configpm when Perl was built. Any changes
# made to this file will be lost the next time perl is built.