This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Move the common Pod scanning code from installman and buildtoc to pod_lib.pl
authorNicholas Clark <nick@ccl4.org>
Thu, 22 Dec 2011 10:26:29 +0000 (11:26 +0100)
committerNicholas Clark <nick@ccl4.org>
Sat, 24 Dec 2011 08:30:09 +0000 (09:30 +0100)
commit9bbb230a203c96fa7e8a45ef46e37c00319fafb1
treed6bb6acdc88be55d591dbd6e678d4caf805bcfb6
parent3bf293368e665fedf90271ec12ba69772cca9a5c
Move the common Pod scanning code from installman and buildtoc to pod_lib.pl

The unified code to scan lib/ for Pod is now in pods_to_install().
It returns found Pods partitioned into 'MODULE' and 'PRAGMA', as buildtoc
needs this distinction. installman installs Pods in the same order as before,
as 'PRAGMA' sort lexically after 'MODULE'.
Porting/pod_lib.pl
installman
pod/buildtoc