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.

There are ways and means to test that as well :)

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?

Well, not immediately here, but there is Perl::BestPractices being slowly pulled together which all the necesary work, and so I imagine you could plug the two together relatively easily somewhere down the track.

Adam K

Reply via email to