the easiest way would be to activate javascript code for the drop-down, and the javascript code alone can populate other fields as necessary. this is all client side, and has nothing to do with perl which runs server side. if you take it a step further you can develop a separate little server side perl script that gives back the values as requested by the javascript code, ala ajax.
otherwise, with perl being only serverside and running a script to generate CGI that's passed onto web browser client via web server...perl script is either linked to or a form submit etc, and caused full reload of browser window.
another way to do this is to sort of "fake it". the one perl cgi script always checks CGI parameters at the start of the code, and does different things based on this information. for example called without parameters, it would generate the form. called with some form parameters, it can generate the form with further fields populated. called with all required parameters in the form, it does whatever is needed for the full submit and generates a response. you will need to setup the onchange handler for the drop down, to make it call the same perl cgi script. Nowadays this sort of setup would be considered a bit of a kludge, as although it can and will work, making a selection in the drop-down caused a full reload of browser window and the perl cgi runs and generates the whole screen as needed.
the hardest line to type correctly is: stty erase ^H

In reply to Re: How can I change Option values into Text Values by aquarium
in thread How can I change Option values into Text Values by jaacmmason

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.