Re: [Templates] tpage extension

[prev] [thread] [next] [Date index for 2004/09/02]

From: slaven
Subject: Re: [Templates] tpage extension
Date: 08:37 on 02 Sep 2004
Andy Wardley <abw@xxxxxxx.xxx> 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
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

(message missing)

Re: [Templates] tpage extension
Myk Melez 14:00 on 29 Aug 2004

Re: [Templates] tpage extension
Johan Vromans 15:07 on 29 Aug 2004

Re: [Templates] tpage extension
Andy Wardley 07:03 on 02 Sep 2004

Re: [Templates] tpage extension
Andy Wardley 07:42 on 02 Sep 2004

Re: [Templates] tpage extension
slaven 08:37 on 02 Sep 2004

Re: [Templates] tpage extension
Dylan Hardison 13:06 on 03 Sep 2004

[Templates] correct usage of Dumper plugin
Jamie Echlin 16:04 on 02 Sep 2004

Re: [Templates] correct usage of Dumper plugin
Jamie Echlin 16:39 on 02 Sep 2004

Re: [Templates] correct usage of Dumper plugin
Darren Chamberlain 16:45 on 02 Sep 2004

Re: [Templates] correct usage of Dumper plugin
Jamie Echlin 17:33 on 02 Sep 2004

Generated at 08:56 on 15 Mar 2005 by mariachi v0.52