mbr has asked for the wisdom of the Perl Monks concerning the following question:
Does the POST operation in HTTP::Request::Common support radio
buttons? I have seen examples in the POD about posting things
to normal text entry fields (like putting my name and birth date
into a form), but I have not been able to find an example that
would use POST to click a radio button. What is the best way
to do this with LWP?
Thanks,
--Mike
Comment on radio buttons and HTTP::Request::Common
LWP doesn't actually need to know what kind of input widget a browser would display for a form. You fill in a radio input the same as you would a text input, by giving LWP the name of the input and the value.
Yes, this means you can send values from a script that you wouldn't get from a user filling out the form. That's why your code on the Web server checks its inputs carefully :)