in reply to Re: HTML table with HTML::Template and loop in a loop
in thread HTML table with HTML::Template and loop in a loop

Thanks cfreak, this was helpful.

small typo though,
my @loop_data = (); foreach my $array_ref(@data) { my @inner_loop = (); foreach my $element (@$_) { push(@inner_loop,{var1=>$element}); } push(@loop_data,{loop2=>\@inner_loop}); }
In the 4th line, (@$_) should read (@$array_ref).