Andy Wardley <[EMAIL PROTECTED]> wrote:
> Andy Wardley wrote:
> > I can, but I'm just wondering why it doesn't re-use the code from 
> > ttree which does the same thing.  
> 
> There's a new patch below which does the same thing re-using the ttree
> code, or something similar.  Like ttree, it supports an rcfile (~/.tpagerc),
> the -f option to load other configuration files, -h for help, and of course
> all the other relevant TT options.
> 
> Please eyeball it, check it, confirm it works as expected, and I'll commit 
> it to CVS.  We're still short of the appropriate documentation patch, if 
> anyone feels so inclined....
> 

The file configuration seems to be wrong, as it is not possible to
use relative filenames anymore. When using

   tpage foo.tpl > foo

foo.tpl will be expanded to $ENV{HOME}/foo.tpl on my system.

Another change to tpage I would like to see is to expand the --define
option to accept complex structures.

   --define foo.bar.bla=123

would be expanded to $variables->{foo}{bar}{bla} = 123
I can't remember, but maybe I have such a change on my home computer.

Regards,
        Slaven

-- 
     __o                Slaven Rezic
   _`\<,_               slaven <at> rezic <dot> de
__(_)/ (_)____
______________________________________________________________________________

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

Reply via email to