Re: [htmltmpl] loop through a hash structure without knowing the hash keys?
Brought to you by:
samtregar
From: Carl F. <fir...@gm...> - 2005-12-01 20:03:10
|
> e.g. > <tmpl_loop students> > <tmpl_var name> > </tmpl_loop> a TMPL_LOOP doesn't take a hash, it takes an array-ref of hash-refs that would be my @loop =3D ( {name =3D> 'a'}, {name =3D> 'b'}, ); $tmpl->param( students =3D> \@loop ); If you knew that already, give an example of what sort of data you want to put in, and what you want the HTML to look like. Cheers, Carl |