Here's a short example.
my $template = HTML::Template->new( 'filename' => 'some.tmpl',
'loop_context_vars' => 1);
my $some_funky_loop = [..#array ref of hashrefs of stuff#.. ];
$template->param('SOME_LOOP' => $some_funky_loop);
$template->output();
# template
On 8/30/06, Di Dom
Can you put up or attach the template you're using?
Jamie
On 6/9/06, Alexey Melezhik <[EMAIL PROTECTED]> wrote:
> I can't fix it!
> ==
> My options:
>
>
> my $template = HTML::Template->new (
>
>
> filename => $template_path,
>
IL PROTECTED] On
> Behalf Of Jamie Krasnoo
> Sent: Friday, 28 April 2006 08:15
> To: html-template-users@lists.sourceforge.net
> Subject: [htmltmpl] Template Error Managment
>
>
> Hi all,
>
> I was just wondering what some of you do for displaying
> Errors to forms and
Hi all,
I was just wondering what some of you do for displaying Errors to
forms and other sections of your script through HTML::Template. I'm
currently using CGI::Application and Data::FormValidator with H::T and
I'm finding that I'm defining errors within the template and using
to display them i
in to the deep end.
I've compiled PHP for Apache 2 but I haven't gotten around to playing
with it yet.
Jamie Krasnoo
---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and For