in reply to Re^2: HTML::Template error message
in thread HTML::Template error message

Why are you passing the CGI parameters back to the template like that. Just use

my $cgi = CGI->new(); my $template = HTML::Template->new( filename => 'foo.tmpl', associate => $cgi, );
when you instantiate the H::T object instead. Of course, you have to take care with multiple values, as usual. Check out the HTML::Template Tutorial if you already haven't and good luck. :)

UPDATE: I suppose i should post the relevant CGI::Application code instead :O

my $tmpl_obj = $webapp->load_tmpl('some_other.tmpl', associate => $cgi, );

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)