that does make sense, I want to ask my question in this way,
how can I include the code, print "Content-type: text/html\n\n"; into the wrapper default-template ? I use the wrapper like this, [% WRAPPER default-template %] On 5/12/07, Robin Smidsrød <[EMAIL PROTECTED]> wrote:
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) _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
-- perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"[EMAIL PROTECTED] ")' _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
