This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Rationalise use of the Pod metadata structure returned by get_pod_metadata().
authorNicholas Clark <nick@ccl4.org>
Mon, 19 Dec 2011 18:34:56 +0000 (19:34 +0100)
committerNicholas Clark <nick@ccl4.org>
Wed, 21 Dec 2011 08:07:27 +0000 (09:07 +0100)
commit4e604983952b1d2a9eb17c9c99e4d1d4947f3010
tree72249b007019cb60713748d7231b04e547298ef3
parent0aef0fe5d2d4655704f4ccaaacd38582e3744d71
Rationalise use of the Pod metadata structure returned by get_pod_metadata().

Nothing uses the entries in the 'master' array for the for the elements
flagged as 'aux', so don't generate them. Only buildtoc uses the the 'aux'
hash, and only the keys in sorted order, so replace the hash with a sorted
array.

All entries in the 'master' array are now defined, and references to 5
element arrays, so remove code that checks for this. Likewise, as the 'aux'
flag is no longer used, remove code related to it.

When generating the entries for README files in %our_pods in the consistency
checking code in get_pod_metadata, $_->[4] and $_->[1] will always be equal,
as no READMEs are copied from dual life modules. So use $_->[1] instead, as
this permits a future simplification.
Porting/pod_lib.pl
installman
pod/buildtoc