The Jeeves code-generation framework proposed in "Advanced Perl programming" looks interesting. I love stuff like this - code-generation from templates, and tools that make coding easier in general.

Some people claim that his template syntax is really ugly. I agree - it's not particularly beautiful, but it's not the main point, IMHO. The main point is that the framework is organized really nicely, its modularity is something to learn from.

I wonder how to tie an XML front-end to it