13 my $hidden_form_in = qq{<INPUT TYPE="radio" NAME="foo1" value="bar1">
14 <input type="radio" name="foo1" value="bar2">
15 <input type="radio" name="foo1" value="bar3">
16 <input type="radio" name="foo1" checked value="bar4">};
18 my %fdat = (foo1 => 'bar2');
20 my $fif = new CGI::Ex;
21 my $output = $fif->fill(scalarref => \$hidden_form_in,
23 my $is_checked = join(" ",map { m/checked/ ? "yes" : "no" } split ("\n",$output));
24 if ($is_checked eq 'no yes no no'){
27 print "Got unexpected is_checked:\n$is_checked\n";