On Sun, 4 Dec 2005, Randal L. Schwartz wrote: > > You could copy the relevant code from the inside of ttree... there's > not a lot to it. I built my own ttree-like tool to run my website... > just a matter of taking File::Find and some stats to figure out if > things are out of date. > > Looking at the source code to ttree also reveals that it's not really > set up as an API... it's a CLI. > I need to process a tree only at setup time, not during normal use. So, I guess I can use "system". I could also implement the setting up phase with perl (i.e. not using TT at all). But TT just seemed the right way to do it, in this case, since I've felt like changing the directories layout more than once... Pity (and strange) that there isn't a module to do it, as it looks a natural thing to think of. Messing with the source code is error-prone (for me) and probably too time consuming.
Thanks, Jorge Almeida _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
