Re: using H::T from within mod_perl handler

"Sam Tregar" <[email protected]> Fri, 11 Jan 2008 18:45:16 -0500
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>
On 1/11/08, Raful Mr Mitchell H <[email protected]> wrote:
>
>  My HTML::Template output appears in the browser like so when in a
> mod_perl sub handler subroutine.  The other three modules work fine.  This
> also works fine as a CGI.
>

This sounds like a server configuration problem to me.  To prove it's not
HTML::Template, try replacing:

   print $template->output;

With:

   print "<h1>Hello World!</h1>\n";

If you see that as HTML code, not rendered, then HTML::Template is not your
problem.  You might try posting your question to the mod_perl list.  Be
sure  to include the relevant section of your Apache config.

-sam

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

_______________________________________________
Html-template-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/html-template-users