In article <[EMAIL PROTECTED]>, Robert Rothenberg
<[EMAIL PROTECTED]> wrote:

> I'm rather annoyed by the spate of CPAN uploads which have defaults from 
> h2xs or Module::Install that are not edited, things like "Perl extension 
> for blah blah blah" or "A. U. Thor".  In other words, stupid mistakes.

> So I've been toying ideas for a module which checks for files which 
> match regexps of known defaults.

Better yet, stop using those module starter utilities. Last year I
went through this boot-strapping process:

   * Use one of module starter utilities to make a sample dist.

   * Turn that dist into a directory of Templates. Make everything
   just like you like it, boilerplate and all. Put files where
   you like them.

   * Process the whole thing with ttree when you need a new
   module.

   * If you want to add a new file, you just process that template
   from your sample dist.

When you want to add something (like a standard test file), you
just add it to the sample dist. When you want to change some
boilerplate, you just change it in the sample dist. When you
want to move files around, well, you get the idea.

I wrote about this last December for TPJ.

   http://www.tpj.com/archives/2004/0412/

But, I notice you have to pay to see that. It's pretty easy to
figure out on your own, though.

-- 
brian d foy, [EMAIL PROTECTED]

Reply via email to