#!/usr/bin/perl -w use strict; use CGI qw(:standard); my @table_rows; push @table_rows, th({-width=>"20%"}, "Hello") . th({-width=>"20%"}, "There") . th({-width=>"60%"}, "World"); push @table_rows, th({-width=>"20%"}, "The") . th({-width=>"20%"}, "Second") . th({-width=>"60%"}, "Line"); print table(Tr(\@table_rows)); ####
Hello There World
The Second Line