On Sun, 18 Apr 2004, Andy Wardley wrote:

> The good news is that you can do it all from ttree.
>
>   ttree --perl5lib=/your/perl/lib/directory --plugin_base=Your::Plugins
>
> See 'ttree -h' for a summary of these and other options.

He, that somehow managed to get by unnoticed when I read it before.
Should have read it more careful it seems. OK, in that case I'll take
the easy route for now, but I think I'll want to get my feet wet later
on anyway.

Another question. Is it possible to maintain "state" between pages? Or
put in another way: can I somehow access META variables set in one page
when processing another page? I know I could preprocess a common
template where I set all those variables (make their scope site-wide),
but that would mean creating an extra dependency. To my eyes it would be
more elegant if info associated with a file is stored in that file and
not somewhere else. Building a site-map from the META data stored in the
separate templates is an example of what I am thinking of.

Grx hdv



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

Reply via email to