[Templates] sending header as text/html

Robin Smidsrød robin@smidsrod.no
Sat, 12 May 2007 11:12:11 +0200


Ken Perl wrote:
> I'm referring to a CGI script that is using Template Toolkit, because
> all scripts need to print header, so I think template toolkit can help
> to do it.
The first pages of the TT tutorial might help you.

http://www.template-toolkit.org/docs/default/Tutorial/Web.html#DYNAMIC_CONTENT_GENERATION_VIA_CGI_SCRIPT

-- Robin

(BTW: RTFM is a good hint)