[cgiapp] Re: HTML::Template - TT

2006-10-11 Thread Robert Hicks
Dan Horne wrote: All you'd need to do is replace the HT parameters in your templates with TT syntax. You should also look at C::A::Plugin::AnyTemplate if you don't want to change the invocation of your templates by your Perl code I can probably get most of that. However I have small

RE: [cgiapp] Re: HTML::Template - TT

2006-10-11 Thread Dan Horne
On Behalf Of Robert Hicks Sent: Thursday, 12 October 2006 3:00 a.m. To: cgiapp@lists.erlbaum.net Subject: [cgiapp] Re: HTML::Template - TT Dan Horne wrote: All you'd need to do is replace the HT parameters in your templates with TT syntax. You should also look at

[cgiapp] Re: HTML::Template - TT

2006-10-11 Thread Robert Hicks
Dan Horne wrote: On Behalf Of Robert Hicks Sent: Thursday, 12 October 2006 3:00 a.m. To: cgiapp@lists.erlbaum.net Subject: [cgiapp] Re: HTML::Template - TT Dan Horne wrote: All you'd need to do is replace the HT parameters in your templates with TT syntax. You should also look at

Re: [cgiapp] Re: HTML::Template - TT

2006-10-11 Thread Rhesa Rozendaal
Robert Hicks wrote: Currently with HT I do this: my $template = $self-load_tmpl('reports.tmpl.html'); $template-param( title = 'Trakker :: Reports Page', data = $data, ); $template-param($errs) if $errs; That implies that $errs is a reference to a hash. I tried converting that