|( #3333=superdoc: print w/replies, xml )||Need Help??|
You don't have to have values for options. On form submit the value for the element is the string value between the opening and closing option tags. So that's not it.
If you take the action out and leave everything else intact, you can see the GET values in the URL bar in your browser:
When I do that, I see the value set. That means your CGI code had something wrong. I created a file called mycgi.pl and put it in the same directory as the HTML file, resulting in this for the form definition:
You would, of course, leave yours as the same, since you have a specific CGI URL already defined.
Then I worked on the contents of mycgi.pl and added some missing CGI method calls:
You left off the header, which is very important to tell the browser that what's coming back is an HTML page. You also want the start_html to emit the html, head, and body tags. The h1 is purely optional, the p is for your data, and the end_html closes off the body and html tags to make everything neat, tidy, and validateable.
In reply to Re^2: How to extract a form data in cgi perl