Re: [htmltmpl] Bug in die_on_bad_params handling

2005-07-07 Thread Matija Grabnar
Jason Purdy wrote: IMVHO, this isn't a bug, but rather the intended behavior. If you really want to be strict about it, set up two different loops. Otherwise, don't worry about die_on_bad_params. - Jason Setting up the loops would be expensive, since it involves a LOT of data - it would b

[htmltmpl] Bug in die_on_bad_params handling

2005-07-07 Thread Matija Grabnar
For example Template: Script: #!/usr/bin/perl use HTML::Template; $t=HTML::Template->new(filename=>'0.tmpl'); @foo=({bar=>1,baz=>2},{bar=>3,baz=>4}); $t->param(foo=>[EMAIL PROTECTED]); print $t->output; Result: HTML::Template->output() : fatal error in loop output : HTML::Template :