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;


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to