summaryrefslogtreecommitdiff
path: root/installperl
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgs@consttype.org>2009-10-14 11:40:35 +0200
committerRafael Garcia-Suarez <rgs@consttype.org>2009-10-14 13:25:35 +0200
commita841533b5cf319b34548d89671a3fe05f4f62beb (patch)
tree9e0842c8fa6465bf57abfae461be49fbf3e0b183 /installperl
parentd30bfae6d91dda44e217fd3a3239656b169cfec8 (diff)
downloadperl-a841533b5cf319b34548d89671a3fe05f4f62beb.tar.gz
Remove old code dealing with installing 5.003's perldiag
Diffstat (limited to 'installperl')
-rwxr-xr-xinstallperl15
1 files changed, 0 insertions, 15 deletions
diff --git a/installperl b/installperl
index 32cfdb6694..4dbec21b1f 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#.*/##;