zonky has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: Processing HTML Checkboxes with Perl
by shmem (Chancellor) on Jun 18, 2007 at 08:43 UTC
    Have a look at CGI. Read this documentation, it helps, really.
    #!/usr/bin/perl use CGI; my $q = new CGI; print $q->header, $q->start_html, $q->start_form, # the following lines are taken directly from the CGI doc: $q->checkbox_group(-name=>'words', -values=>['eenie','meenie','minie','moe'], -defaults=>['eenie','minie']), # END CGI doc plug. $q->submit, $q->end_form; my @val = $q->param('words'); print "selected: $_<br>\n" for @val; print $q->end_html;

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
Re: Processing HTML Checkboxes with Perl
by tinita (Parson) on Jun 18, 2007 at 08:37 UTC