![]() |
|
more useful options | |
PerlMonks |
Re: CGI::Ajax + Template::Toolkit Questionby chargrill (Parson) |
on Mar 07, 2007 at 04:16 UTC ( #603563=note: print w/replies, xml ) | Need Help?? |
From the error, it looks like you haven't printed out any HTTP headers. Try print header(); before calling print $pjx->build_html. Also, you might want to actually make use of that $config hashref you've setup there in your call to Template->new( $config ). Also, if CGI::Ajax is building some HTML, what's Template going to do for you? Unfortunately not using CGI::Ajax, but just T::T (which is where I think you're hitting a snag), the following snippet might help:
--chargrill
In Section
Seekers of Perl Wisdom
|
|