summaryrefslogtreecommitdiff
path: root/configpm
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-24 04:02:35 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-24 04:02:35 +0000
commita7cb1f9979dd83ab32266dc555f72f0939829c3f (patch)
tree30e708b7b59c1b8455a51a5b82a59ea9312de117 /configpm
parentc63481edeb5a500b5e56c74ce83175790d2adf8a (diff)
downloadperl-a7cb1f9979dd83ab32266dc555f72f0939829c3f.tar.gz
support for v5.5.640 style version numbers
p4raw-id: //depot/utfperl@4705
Diffstat (limited to 'configpm')
-rwxr-xr-xconfigpm4
1 files changed, 2 insertions, 2 deletions
diff --git a/configpm b/configpm
index 8c53dbb724..f57ef0b9e2 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 = $];
+$myver = 0+$];
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 (\$])";
+ or die "Perl lib version ($myver) doesn't match executable version (" . 0+\$] . ")";
# 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.