update : rewrote reply more clearly.

Dear monk, why don't you use Javascript? This seems to be more suited for these kinds of tasks than a full-fledged CGI script.
For Javascript help, look at the tutorials on w3schools.com.

You could use a CGI script, but I advise against it. You would in that case probably use an array to hold the options and use CGI.pm to draw the page with listboxes. A button would then post a flag to the script, regenerating the page and showing the options in the other listbox. But again, Javascript would be easier for this.

If you need any help, let me know.

In the future though, you might want to give some more details about it, as to what you are trying to accomplish.

Good luck,

-- Detonite
Thank($parent($_)) if(posts($parent($_)->Useful)

In reply to Re: To move values btwn listboxes by jkva
in thread To move values btwn listboxes by gaurav singh

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.