Perl Testing: A Developer's Notebook has a lab that shows off a module named
Test::Kwalitee. When run from a test file, this module can analyze a distribution for several Kwalitee measurements. The book promises that this module is on the CPAN.
I had a hacked-up, working proof of concept version when the book went into production. I knew that I had several weeks to release it before anyone saw the printed book.
Then a new version of the CPANTS distribution came out and there was no longer a good or easy way to re-use the Kwalitee tests on a distribution without uploading it to the CPAN, waiting for the mirror site to get it, then downloading and processing it through the normal means.
Yeah, I could just bundle the version of the CPANTS modules I need with my code, but talk about a maintainability problem....
(I'm sympathetic to the desire to upload an ugly-but-working piece of code for other people to use, then to upload a newer, cleaner version after you've rethought some things, but I dare you to try to get the current CPANTS distribution working. Sure, my wrapper was plenty ugly