Fix two post 5.15.0 perltoc.pod generation bugs.
authorNicholas Clark <nick@ccl4.org>
Sun, 27 Nov 2011 12:05:11 +0000 (13:05 +0100)
committerNicholas Clark <nick@ccl4.org>
Sun, 27 Nov 2011 12:05:11 +0000 (13:05 +0100)
commit2db7c483adfe796023e6b117428d28c725186f04
tree131c1767318fb4cc9fdeec967993e45d1af36e4e
parentcf220710f187d33f81fc50e0e898134558c7bf62
Fix two post 5.15.0 perltoc.pod generation bugs.

Commit 1721346e4e420217, which allowed buildtoc to handle files outside of
pod, changed the number of entries in the master structure, but missed
changing one test from 3 to 5, which resulted in all the core documentation
being omitted from the generated perltoc.pod

Commit f37610d895e1d30b, which eliminated the use of absolute pathnames,
failed to change two regular expressions in the subroutine passed to
File::Find::find(), which resulted in all module pod filenames having
lib/ prepended, and thus all modules being treated as pragmata.
This commit also contained an error in the call to podset() for the core
documentation, which wasn't noticed because that code was never called,
due to the bug introduced by commit 1721346e4e420217.

perltoc.pod now builds correctly once again. Whether anyone uses it is
another matter.
pod/buildtoc