# from Robert Rothenberg # on Friday 19 August 2005 09:36 am: >I don't think patches to Module::Starter or similar packages will > help. The problem isn't with the starter utilities, it's what comes > out the other end when distributions are built. (So an eventual patch > for Module::Build, perhaps?)
The problem *is* with the starter utilities, or we wouldn't be having this discussion. Boilerplate is a pretty primitive way to rough-out a module when you could instead use config files and custom templates to get things like $AUTHOR into the text. To put it another way: garbage in, garbage out. If you start with the right content instead of a boilerplate, you don't have to test for junk coming out the other end. Now, let's say we all used Module::Starter instead of h2xs. We may still want to test the output rather than just trusting that "all is well" But the regex /A. U. Thor/ quickly becomes fairly useless as a test. What you really need is a test for an AUTHOR section and some contact info, etc. Furthermore, while I would like this to be available as an automagic feature in Module::Build, there better be some way to disable it because we don't want tools that dictate policy like that. If your goal is to keep people from uploading modules with h2xs boilerplate pod, a new test module (even a builtin to Module::Build) isn't going to accomplish this. --Eric -- I arise in the morning torn between a desire to improve the world and a desire to enjoy the world. This makes it hard to plan the day. --E.B. White --------------------------------------------- http://scratchcomputing.com ---------------------------------------------