On Mon, 2004-12-13 at 18:48 +0100, Tosh Cooey wrote:
> Any idea why the output from TT2's "process" call isn't intercepted while a 
> standard print "Content-type: text/html\n\n;" is?  Is the output redirected 
> to 
> <STDOUT> rather than via 'print' ?

It shouldn't matter, but you could tell TT to use $r for output. 

> And of course is there an elegant way of sending headers per individual 
> template?

Put the type in the template's META data and send the header yourself
before sending the rest of the template content.  Or just turn off
header parsing and send the headers manually.

- Perrin


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

Reply via email to