diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-08-26 14:06:33 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-08-26 14:06:33 +0000 |
commit | 03284eb6ec827d07c030082154485bd4c4cf4a37 (patch) | |
tree | 54446d36a139bc0a42839555ab446ad59d3d3faa /installperl | |
parent | 5f56cddd7d02d4eaf77c11dfb507472f0aea4085 (diff) | |
download | perl-03284eb6ec827d07c030082154485bd4c4cf4a37.tar.gz |
Retract #6826 as the #6828 should be do the same
in a More Correct Way.
p4raw-id: //depot/perl@6838
Diffstat (limited to 'installperl')
-rwxr-xr-x | installperl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/installperl b/installperl index db6454a506..84e51f4c3d 100755 --- a/installperl +++ b/installperl @@ -113,10 +113,9 @@ find(sub { # print "[$_]\n" for sort keys %archpms; -my $perlver = sprintf "%8.6f",$]; my $ver = $Config{version}; -my $release = substr($perlver,0,3); # Not used presently. -my $patchlevel = substr($perlver,3,2); +my $release = substr($],0,3); # Not used presently. +my $patchlevel = substr($],3,2); die "Patchlevel of perl ($patchlevel)", "and patchlevel of config.sh ($Config{'PERL_VERSION'}) don't match\n" if $patchlevel != $Config{'PERL_VERSION'}; |