Retract #6826 as the #6828 should be do the same
Jarkko Hietaniemi [Sat, 26 Aug 2000 14:06:33 +0000 (14:06 +0000)]
in a More Correct Way.

p4raw-id: //depot/perl@6838

installperl

index db6454a..84e51f4 100755 (executable)
@@ -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'};