Re: New proposed CPANTS metric: prereq_matches_use

2007-11-22 Thread Matisse Enzer
Is the code for implementing this metric available now? I'm interested in using it to create a utility that generates the appropriate entries in a form suitable for use in Build.PL and Makefile.PL format. --- Matisse Enzer <[EMAIL PROTECTED]

Re: New proposed CPANTS metric: prereq_matches_use

2007-11-22 Thread Thomas Klausner
Hi! On Thu, Nov 22, 2007 at 12:25:49PM +0100, David Landgren wrote: > I have just looked at the latest CPANTS results. I see that all my modules > fail this metric... but I am unsure as to why. Consider: > > http://cpants.perl.org/dist/prereq/Integer-Partition > > I agree, it's probably best t

Re: New proposed CPANTS metric: prereq_matches_use

2007-11-22 Thread Smylers
David Cantrell writes: > On Thu, Nov 22, 2007 at 12:25:49PM +0100, David Landgren wrote: > > > 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. Really? Person

Re: New proposed CPANTS metric: prereq_matches_use

2007-11-22 Thread David Cantrell
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 p

Re: New proposed CPANTS metric: prereq_matches_use

2007-11-22 Thread David Landgren
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. (prereq is either gatherd directly from Meta.YMLs 'requires', by parsing Build.PL or Makefile.PL) As you might know this is quite tricky, because