I'm rather annoyed by the spate of CPAN uploads which have defaults from h2xs or Module::Install that are not edited, things like "Perl extension for blah blah blah" or "A. U. Thor". In other words, stupid mistakes.

So I've been toying ideas for a module which checks for files which match regexps of known defaults. Maybe also check that the ChangeLog has a version which matches the VERSION in the POD (since authors often forget to update it).

There will be a simple script for authors to run so that it checks for these things.

I'm actually thinking of calling it something more polite like "Test::Defaults" but then there is something pleasantly twisted about encouraging authors to run a script called "amistupid" before uploading a distribution.

Perhaps a Module::Build utility could run this script before building a distribution and giving a warning.

Disclaimer: I've made these kinds of stupid mistakes in the past, so this is not a slight on any particular author or the quality of her/his work.

Comments/suggestions would be helpful.

Reply via email to