Kenny Gatdula wrote:
I noticed there's a TT2ContentType option in Apache::Template. Is there something like this for Template.pm?

Template.pm is not directly tied to web development, so that wouldn't make sense.


Reason I ask is that I find myself having to add a line to registry scripts to explicitly print the content type, and i'd prefer to set an option.

That's normal for CGI scripts. You can set a default content-type in your httpd.conf for that location of file extension if you prefer.


- Perrin

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

Reply via email to