in reply to How to retrieve information from radio buttons

As DigitalKitty says, you can only select one radio button at a time. Therefore, by implication, you are always dealing with groups of buttons. Here is a CGI.pm example, which generates the calling form from perl:
#!/usr/local/bin/perl use strict; use CGI qw(:standard); use CGI::Carp qw(fatalsToBrowser); print header, start_html, h1("Radio Button Test"), "\n"; print start_form(-method=>'GET'),radio_group( -name => 'test', -values => ['A','B','C'], -linebreak => 'true'); print submit( -name => 'action', -value => 'go'), end_form, end_html, "\n";
I have used METHOD=GET, so that people running this can see the query string - hence what is being passed in.

Each button has a distinct value, but share a common name.