andk/pause — pull request #16 by rjbs (2012-04-03 15:31:07+00:00)
Title: prevent PAUSE from indexing ./local and ./perl5 when doing non-meta-driven index

Yesterday, someone accidentally uploaded a dist with his local::lib in it, which included a lot of libraries not meant to be included in his dist. Unfortunately, the uploader was comaint on these, which meant they were then indexed, leading to serious problems.

This commit excludes "local" (used by carton) and "perl5" (used by some local installers) from non-meta-driven index, much like "t" and "inc" are already excluded.

This is *not* a perfect solution to this kind of problem, but may help and should not hurt.

Please note that I have also included an unrelated almost-certainly-harmless commit that I made to help improve testing of the modlist files.