Templates for programs and modules

toma on 2003-01-21T07:57:30

I have released two new perl template generators. These programs create the basic structure of a new module or program. This saves typing and makes it easier to get started.

The program for modules is similar to the results of h2xs -aXn, but it does not create Makefile.PL or the rest of the nice framework created by h2xs.

I use my program in conjunction with h2xs, replacing the file module_name.pm with the output from my program.

I welcome comments on the code and ideas for enhancements.

I wrote these while procrastinating on developing a new module. I want to:

  • Improve my SQL by practicing on SQLite.
  • Translate some of the XML structures that I have been working on into an SQL schema.
  • Compare the approaches of using XPath queries on an XML dataset with a relational database approach.
My shiny new templates will make this at least 1% easier :-).

I plan on doing schema development using SQLite perl module, then porting the work to a big-iron server. I like to minimize my work on the big machine, except for developing queries. The nice part about using DBI will be that I can develop the schema on SQLite, and then port easily. I'm looking forward to seeing how well this approach will work!

It should work perfectly the first time! - toma