Re: [htmltmpl] HTML Template - fatal error in loop output

2005-11-11 Thread Brad Baxter
On 11/10/05, Senthil Nathan <[EMAIL PROTECTED]> wrote:> Hi Roger,> > Thanks. That works now.> > This is how I did it,>   foreach $instance(@diagnosis) >   {> my %row = (>   line => $instance> ); > push(@diag, \%row);>  

Re: [htmltmpl] HTML Template - fatal error in loop output

2005-11-10 Thread Senthil Nathan
Hi Roger,Thanks. That works now.This is how I did it,  foreach $instance(@diagnosis)  {    my %row = (  line => $instance    );     push(@diag, \%row);  }  $template->param(dign_loop => [EMAIL PROTECTED]);So, Can't

Re: [htmltmpl] HTML Template - fatal error in loop output

2005-11-10 Thread Roger Burton West
On Thu, Nov 10, 2005 at 05:57:51PM +0530, Senthil Nathan wrote: >HTML::Template->output() : fatal error in loop output : HTML::Template : >Attempt to get nonexistent parameter 'one' - this parameter name >doesn'tmatch any declarations in the template file : >(die_on_bad_params set => 1) >at /usr/c

[htmltmpl] HTML Template - fatal error in loop output

2005-11-10 Thread Senthil Nathan
Hi All,I am using an HTML::Template module like this,perl script - contains,    @diagnosis = ( "ONE", "TWO", "THREEE" );    $template->param(dign_loop => [EMAIL PROTECTED]); And template, Im not getting the array being displayed. This is the error I get when I run it, HTML::Templat