in reply to Wanted, template module

Despite their names, you may want to consider HTML::Template or CGI::FastTemplate. Both are good with general text and don't actually have any HTML- or CGI-specific functionality in them.

As for which of the two to use, I'd go with H::T if you need looping or conditional logic in your templates or C::FT if you don't. (C::FT can do looping to generate tables and such, but you have to use a sub-template for the looped portion, which makes the templates less clear and gets to be a pain to write the code for.)