This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
diagnostics doesn't need to search for perldelta.pod in pre-5.005 locations.
authorNicholas Clark <nick@ccl4.org>
Tue, 24 Jan 2012 15:08:37 +0000 (16:08 +0100)
committerNicholas Clark <nick@ccl4.org>
Tue, 31 Jan 2012 10:20:23 +0000 (11:20 +0100)
commitce2c4022574ff4cd4bd2e299703ac672a7ec6107
tree432e1514f7b0ce647134ca7df9115ac2998808f6
parent3673acb0ce592432c7547e7ee9d7e5667a2f7bb2
diagnostics doesn't need to search for perldelta.pod in pre-5.005 locations.

Pods are installed into privlib. Before Perl 5.005, privlib didn't contain
the version number in it, so 5.004 and 5.003 (etc) both installed to the same
directory. perldiag.pod differed in not-quite compatible ways, so hacks were
put in to (a) also install it in privlib with the version number in the
filename (b) to hard link it to archlib, which always did contain the version
number.

5.005 changed privlib to contain the version number, solving the underlying
problem (strictly commit bfb7748a896459cc, described here:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/1998-07/msg00136.html )

Commit a841533b5cf319b3 (Oct 2009) removed the first installation hack,
Commit e8ea61279d90dbe9 (Jul 1998) removed the second.

Hence the code to search in the "hacked" locations is no longer needed,
and in the interests of clarity, should go.
lib/diagnostics.pm
pod/perldelta.pod