Hi
I have a number of data files and I want to run them all through the same template. So a.dat -> a.html b.dat -> b.html etc. I want to process all .dat files in a particular directory.
The rest of the site uses tpage.

Is there a way of persuading tpage to process this sort of thing, or is there scope for a utility to do it

The way I can think of doing this is to to write some Perl to glob the filename and call process on each file. But in doing this I would not have access to the ttreerc (as far as can see) so would end up having to duplicate info like the LIB location.

Andrew





_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to