[Templates] sending header as text/html
Ken Perl
kenperl@gmail.com
Sat, 12 May 2007 12:48:48 +0800
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.
On 5/11/07, Randal L. Schwartz <merlyn@stonehenge.com> wrote:
> >>>>> "Ken" == Ken Perl <kenperl@gmail.com> writes:
>
> Ken> How to send the default header as text/html in some common place using
> Ken> any ways in TT?
>
> Template doesn't know anything about "default headers". Are you talking about
> Apache::Template, or some other use of Template in say, a CGI script?
>
> --
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
> <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
> See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
>
--
perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"\@``
")'