This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In pod_lib.pl's get_pod_metadata(), generate lookup hashes directly.
authorNicholas Clark <nick@ccl4.org>
Tue, 8 Nov 2011 08:45:24 +0000 (09:45 +0100)
committerNicholas Clark <nick@ccl4.org>
Fri, 18 Nov 2011 10:08:57 +0000 (11:08 +0100)
commit6fdb59a5b63742625d027fa1c78f62ce9c9a681e
treee6ee1f3b90d39b28c78ff791e80071b084f70e76
parentd7816c475cbc968366ca171e609094df68734963
In pod_lib.pl's get_pod_metadata(), generate lookup hashes directly.

Previously the code was structured to build arrays for various categories of
files, then generate hashes from those arrays. However, the arrays had no
other purpose, and the values in the hashes were only needed for truth tests,
so it's better to generate the lookup hashes directly.

@disk_pods hasn't actually been used since commit d5e2eea989a69524 refactored
pod/buildtoc to no longer chdir to the pod/ directory.
Porting/pod_lib.pl