use CGI; my $cgi = CGI->new; my $html = $cgi->TR( { -height => '100', -valign => 'bottom' }, [ $cgi->th(['Vegetable', 'Breakfast','Lunch','Dinner']), $cgi->td(['Tomatoes' , 'no', 'yes', 'yes']), ] ); print "$html"; #### Vegetable Breakfast Lunch Dinner Tomatoes no yes yes