diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-24 04:02:35 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-24 04:02:35 +0000 |
commit | a7cb1f9979dd83ab32266dc555f72f0939829c3f (patch) | |
tree | 30e708b7b59c1b8455a51a5b82a59ea9312de117 /configpm | |
parent | c63481edeb5a500b5e56c74ce83175790d2adf8a (diff) | |
download | perl-a7cb1f9979dd83ab32266dc555f72f0939829c3f.tar.gz |
support for v5.5.640 style version numbers
p4raw-id: //depot/utfperl@4705
Diffstat (limited to 'configpm')
-rwxr-xr-x | configpm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |