Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

richardc (1662)

richardc
  (email not shown publicly)
http://unixbeard.net/~richardc/

Journal of richardc (1662)

Friday February 20, 2004
06:50 PM

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

[ #17531 ]

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.