use CGI ':html'; # functional interface my @row = qw(one two three four five); print Tr(td(\@row)); # prints