[oak perl] template toolkit recommendations?

Mark Bole mark at bincomputing.com
Sun Feb 13 17:54:18 PST 2005


Anyone with experience to share using  the Template Toolkit module for 
something other than HTML pages?

http://www.perl.com/pub/a/2001/01/tt2.html
http://cpan.uwinnipeg.ca/dist/Template-Toolkit

I ask because I have custody of a hoary script for generating 
configuration files for software installations under Unix/Linux -- which 
matches my definition of a template-ish activity -- but I can't find 
clearly equivalent functionality when searching CPAN. So, I want to make 
sure I'm not overlooking something that is already available.

Examples would be Oracle init scripts, iPlanet or Apache config scripts, 
Weblogic/Tomcat config scripts, and so on...any kind of text config file 
(including XML files) that is a variation on "name = value", and which 
needs to by copied out consistently to a number of servers with 
(typically) a handful of values which are unique to each target server, 
and all the other values are the same on each target server (a.k.a. 
site-wide defaults), based on the template.

I can give an example if it would help....

-- 
Mark Bole
http://www.bincomputing.com






More information about the Oakland mailing list