Front page | perl.beginners |
Postings from December 2002
CGI.pm param
Thread Next
From:
Dan Muey
Date:
December 20, 2002 12:00
Subject:
CGI.pm param
Message ID:
D6D77DB239A2004BB08A240E2E71460D08F9D4@customer.infiniplex.net
Hello,
I'm starting to use CGI.pm to parse input instead of cgi_lib.lib
What I need to do is get the values of a series of checkboxes into an array so I can do foreach over them .
EXAMPLE :
@check_box_entries = $cgi->param('checkboxname');
$check_box_entries = $cgi->param('checkboxname');
both just have the first checkbox checked value.
What i need to do is basically :
@values = ????
foreach $chk(@values) { print "You chose $chk <br> \n"; }
Thread Next