evolving - Friday 20th February, 2003 - mmm: every home should have one

richardc on 2004-02-20T23:50:44

One of the most tedious things in writing a new module is just spinning up the distribution structure and the pod boilerplate to go in it. Of course, there are a whole bunch of ways to skin that cat, from the fugly h2xs, through ExtUtils::ModuleMaker, to that home grown that you've got sitting in ~/bin.

I'm using a home grown one too, but only in the sense that I'm using mmm, which my housemate Mark Fowler wrote.

It's got two big selling points for me. Firstly it creates a very sane module structure, which is an absolute requirement. Mainly though it's that it pulls all the boilerplate in using the Template Toolkit. This makes it trivial for me to just customise the sub-templates for when I'm not Mark, or I don't like one of his defaults.

If you've ever had an itch to use a module generator I'd suggest you take mmm for a spin - it offically Doesn't Suck.