my $CRLF = "\015\012";
}
}
# Set up a CGI environment
"submit()");
"submit(-name,-value)");
"submit({-name,-value})");
"textfield({-name})");
"textfield({-name,-value})");
-override => 1),
"textfield({-name,-value,-override})");
"checkbox()");
"checkbox()");
-checked => 1,
-override => 1),
"checkbox()");
"checkbox()");
qq(<label><input type="radio" name="game" value="chess" checked="checked" />chess</label> <label><input type="radio" name="game" value="checkers" />checkers</label>),
'radio_group()');
qq(<label><input type="radio" name="game" value="chess" checked="checked" />ping pong</label> <label><input type="radio" name="game" value="checkers" />checkers</label>),
'radio_group()');
qq(<label><input type="checkbox" name="game" value="checkers" checked="checked" />checkers</label> <label><input type="checkbox" name="game" value="chess" checked="checked" />chess</label> <label><input type="checkbox" name="game" value="cribbage" />cribbage</label>),
'checkbox_group()');
'-defaults' => ['cribbage'],
-override=>1),
qq(<label><input type="checkbox" name="game" value="checkers" />checkers</label> <label><input type="checkbox" name="game" value="chess" />chess</label> <label><input type="checkbox" name="game" value="cribbage" checked="checked" />cribbage</label>),
'checkbox_group()');
-override => 1),
'<select name="game" >
<option value="checkers">checkers</option>
<option value="chess">chess</option>
<option selected="selected" value="cribbage">cribbage</option>
</select>',
'popup_menu()');
-rows=>10,
-columns=>50),
'<textarea name="foo" rows="10" cols="50">starting value</textarea>',
'textarea()');