Masayoshi Fujimoto
unread,May 17, 2013, 7:51:26 PM5/17/13You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to begi...@perl.org
Hi
Please help me.
I can only see Hilary Duff.
I can not see Taylor Momsen.
I would like to use table for that.
How should I do?
## Here is my script.
#!/usr/bin/perl
use Modern::Perl;
use autodie;
use CGI;
my $q = CGI->new;
my %label = (
celeb => 'Who do you fancy? : ',
);
my %form = (
celeb => $q->radio_group(-name=>'celeb',
-values=>['Hilary Duff','Taylor Momsen'],
-default=>'Hilary Duff'),
submit => $q->submit,
reset => $q->reset,
);
say $q->header;
say $q->start_html;
say $q->start_form;
say $q->table(
$q->Tr([
$q->td([$label{celeb},$form{celeb}]),
$q->td([$form{submit},$form{reset}]),
])
);
say $q->end_form;
say $q->submit;
say $q->end_form;
say $q->end_html;