In addition to all of the other valid points raised with your questionable approach to achieving whatever your final goal may be, you may want to look at a templating system such as HTML::Template where you can populate a template with these values.
| [reply] |
In general it helps a lot if you outline the actual problem you are trying to solve. In this case I presume the problem is related to the back story presented in Updation through RegExp. Actually the current question seems to be the fifth in a series related to the same coding exercise. You may have gotten better answers sooner and learned more by actually presenting the whole problem at the start along with a plea for links to tutorial material related to the various issues you were/are facing.
I still haven't figured out what your actual problem is. So here are a few questions:
- Where does the version information come from (file, database, web site, an external application, ...)?
- Are you writing a CGI script and do you understand what is required?
- What is on the page aside from the drop down?
- What do you actually want to show in the drop list?
- Do you know how to handle the CGI processing when the user has made their selection?
You may find the Tutorials section has some helpful stuff in it. It has sure helped me at various times!
True laziness is hard work
| [reply] |