From: Rafael Garcia-Suarez Date: Wed, 14 Oct 2009 09:40:35 +0000 (+0200) Subject: Remove old code dealing with installing 5.003's perldiag X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a841533b5cf319b34548d89671a3fe05f4f62beb;p=p5sagit%2Fp5-mst-13.2.git Remove old code dealing with installing 5.003's perldiag --- diff --git a/installperl b/installperl index 32cfdb6..4dbec21 100755 --- a/installperl +++ b/installperl @@ -565,21 +565,6 @@ my $pod = ($Is_Cygwin || $Is_Darwin || $Is_VMS || $Is_W32) ? 'pods' : 'pod'; if ( !$versiononly || ($installprivlib =~ m/\Q$vershort/)) { mkpath("${installprivlib}/$pod", $opts{verbose}, 0777); - # If Perl 5.003's perldiag.pod is there, rename it. - if (open POD, "${installprivlib}/$pod/perldiag.pod") { - read POD, $_, 4000; - close POD; - # Some of Perl 5.003's diagnostic messages ended with periods. - if (/^=.*\.$/m) { - my ($from, $to) = ("${installprivlib}/$pod/perldiag.pod", - "${installprivlib}/$pod/perldiag-5.003.pod"); - print " rename $from $to"; - rename($from, $to) - or warn "Couldn't rename $from to $to: $!\n" - unless $opts{notify}; - } - } - for (@pods) { # $_ is a name like pod/perl.pod (my $base = $_) =~ s#.*/##;