This does not seem to be the case, the following code
#!/usr/bin/perl -w
use strict;
use CGI;
my $cgi = new CGI;
print $cgi->header();
print $cgi->start_html();
my $submit = $cgi->param('submit');
if ($submit)
{
my @on = $cgi->param('desig');
foreach my $item (@on)
{
print qq($item<BR>);
}
exit;
}
print $cgi->startform(-method=>'post');
print $cgi->checkbox_group(-name=>'desig',
-values=>['a', 'b', 'c', 'd', 'e', 'f', 'g']);
print $cgi->submit(-name=>'submit', -value=>'Submit');
print $cgi->endform();
print $cgi->end_html();
yields
a
c
e
g
when every other box is checked |