X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=configpm;h=8c53dbb7249c707087ee036ac905a704075dd0d2;hb=1ce814815bde0566427417840f76f7f4c52ee977;hp=f57ef0b9e276969426f6a27c661269fe79f0ded9;hpb=a7cb1f9979dd83ab32266dc555f72f0939829c3f;p=p5sagit%2Fp5-mst-13.2.git diff --git a/configpm b/configpm index f57ef0b..8c53dbb 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.