On Sunday 11 August 2002 04:06 pm, Sam Tregar wrote:
> for(int $i=0; $i<3; $i++)
> {
> foreach my $obj($htmltemplate->query(loop=>"record"))
> {
> $myHash{$obj} = "Tom".$i;
> }
> push (@myRecord, %myHash);
push (@myRecord, \%myHash);
> }
> $htmltemplate->param(record=>@myRecord);
> $htmltemplate->output();
Try this. The %myHash needs to be a hard reference. I am not totally sure
why but it works.
Douglas
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users