On Thu, Nov 22, 2007 at 12:25:49PM +0100, David Landgren wrote: > Thomas Klausner wrote: > >The metric will be called prereq_matches_use and shall check if all the > >modules used in a dist are also listed as a prereq. > > http://cpants.perl.org/dist/prereq/Integer-Partition > > I agree, it's probably best to list Carp, but do I really declare > pragmas like 'strict' and 'vars'? How many ISPs remove *them*?
Excluding pragmata that have been in core since at least 5.6 would be a good idea, I think. That's attributes, autouse, base, blib, bytes, charnames, constant, diagnostics, fields, filetest, integer, less, lib, locale, open, ops, overload, re, sigtrap, strict, subs, utf8, vars, vmsish, warnings, and warnings::register. > Does the metric include modules used in the test suite? I write my test > suites to deal gracefully with missing Test modules. Most people don't, unfortunately. -- David Cantrell | top google result for "topless karaoke murders" engineer: n. one who, regardless of how much effort he puts in to a job, will never satisfy either the suits or the scientists