#!/usr/local/bin/perl -w use strict; use CGI::Pretty qw/:standard/; { my $q = new CGI; print $q->table({-border=>'1', -cellpadding=>'2', -cellspacing=>'2'}, Tr({-align=>'LEFT', -valign=>'CENTER'}, [ $q->td(['one', '1', 'I']), $q->td(['two']), $q->td({-colspan=>'2'}, ['2']), $q->td({-colspan=>'2'}, ['three', 'III']), $q->td({-colspan=>'3'}, ['four']), ])); } ####
one 1 I
two
2
three III
four