Uncomment the print Content-Type line to just before the
template process line. Template doesn't know you are doing CGI
output automagically... for all it knows you are templating a
.gif file!

--mark mills
Xodiax Engineering

> -----Original Message-----
> From: Robert Creager [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 29, 2003 7:55 AM
> To: TemplateToolKit
> Subject: [Templates] Help: no output from mod_perl script
> 
> 
> 
> Hello folks,
> 
> I'm using Template/2.10, Apache/2.0.47, mod_perl/1.99_09, Perl/5.8.1.
> my $tt = Template->new( $config )
>    || die Template->error(), "\n";
> 
> #print "Content-type: text/html\n\n";
> #printf "%s\n", ref $tt;
> 
> $tt->process( \*DATA, $vars )
>    || die $tt->error(), "\n";

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

Reply via email to