From: Oleg Burlaca <[EMAIL PROTECTED]>
Date: 8/11/03 12:29:50 PM

> When processing a template, I want it to generate some 
> files.
>
> Is it possible to do something like:
> [% template.process('/dir/file.html', 'tmpl_name') %]

I think the "redirect" filter might do what you want.

<http://www.template-toolkit.org/docs/plain/Manual/Filters.html#redirect_file_options_>

> Also I need the 'tmpl_name' template to see variables 
> passed from script via "\%vars" as well as vars 
> declared(used) in current tmpl.

That Just Works doesn't it?

Dave...

-- 
<http://www.dave.org.uk>

"Let me see you make decisions, without your television"
   - Depeche Mode (Stripped)





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

Reply via email to