% foreach my $option ( @{ $opt{options} } ) { #just arrayref for now <% include('tr-td-label.html', @_, label=> $labels->{$option} || $option ) %> > <% include('radio.html', @_, value=> $option ) %> % } <%init> my %opt = @_; my $labels = $opt{'option_labels'} || $opt{'labels'}; my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';