--- Thomas Klausner wrote:
> --- Adam Kennedy wrote:
>> has_perl_dependency:
>> 
>> In the META.yml (assuming it exists) there is a dependency on the 
>> version of perl required to install the dist.
>> 
>> The goal of this is to make life a little easier on installers and CPAN 
>> testers and a few other things.
>> 
>> Many many modules should pass this test already.
>> 
>> The main goal however, is to help enable the NEXT kwalitee test to have 
>> better coverage.
> 
> Hmm. I never added this of any to my dists.

I think you should. ;-)

Apart from a user wanting to know which version of perl a module
works with, it's a general "quality" (not kwalitee;-) principle to
first specify, then test that the specification is met. So I would
say that specifying which versions of perl your module is meant to
work with should be done before testing it against those versions.

In addition to META.yml, your module's version requirements should be
enforced programmatically. Well, Damian says so. :-) (p.405 of Perl
Best Practices: "Enforce your version requirements programmatically").
Another possible kwalitee check: the perl version in META.yml should
match the version enforced programmatically.

BTW, is there any plan to mine PBP for possible new kwalitee tests?

/-\


Send instant messages to your online friends http://au.messenger.yahoo.com 

Reply via email to