[oak perl] template toolkit recommendations?
Bob goolsby
bob.goolsby at gmail.com
Mon Feb 14 10:54:16 PST 2005
Take a look at the modules in the Config:: space. As I recall,
Config::Tiny is designed to handle key=value init files. That might
be a bit easier than trying co coerce TT into doing what you want.
That said, the Badger book is a most useful resource on things
Template-ish.
Bob G
On Sun, 13 Feb 2005 17:54:18 -0800, Mark Bole <mark at bincomputing.com> wrote:
> 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
>
> _______________________________________________
> Oakland mailing list
> Oakland at pm.org
> http://mail.pm.org/mailman/listinfo/oakland
>
More information about the Oakland
mailing list