|Subject:||[PATCH] testpod action for testing POD|
Hello, I'm interested in having a built-in function to test the distributions POD. Right now, a number of module authors are distributing a generic script in each distribution that does that. Have one copy of this functionality in Module::Build makes more sense to me. Attached is a patch that accomplishes this. I have a couple of concerns with it: - I couldn't get it to work with just "Test" instead of "Test::More". I don't understand why, since "plan" is the only function I used. It appears that Module::Build has carefully avoided Test::More thus far, so it would be great if someone could make this work with just "Test". - I'm not sure if the name is the best. I think one of the most critical times to test POD is before making a distribution. For that reason, perhaps this makes sense as a function in "testdist", which would be intended for module authors to use more-so than module installers. Here's the URL to the patch:I was 'inspired' by code from Andy Lester's WWW::Mechanize distribution.