Refactor pod_lib.pl's get_pod_metadata() to remove a temporary array.
authorNicholas Clark <nick@ccl4.org>
Wed, 9 Nov 2011 12:40:59 +0000 (13:40 +0100)
committerNicholas Clark <nick@ccl4.org>
Fri, 18 Nov 2011 10:08:57 +0000 (11:08 +0100)
commit852355fc8bd0e2a73e60ad29e169fe586d240117
treeb10a3f6389e3359c2829cc4e576591f9c46d5eb0
parentce9f58fe3b31564d7f92d3f14c3ce5015d656c47
Refactor pod_lib.pl's get_pod_metadata() to remove a temporary array.

The intermediate array @cpanpods can be avoided by generating the lookup
hashes directly.

Rename %cpanpods_short to %cpanpods_leaf and $shortname to $leafname, as this
makes it clearer that each deals with leafnames.
Porting/pod_lib.pl