I hope someone can help with this question.  I would like to retrieve the
results of submitting a form.  I have used LWP:simple a little to do this
and it has worked like a charm with input boxes, radio buttons, and check
boxes.  I am stumped, however, by the need to select from a list in order to
retrieve results.  An abbreviated example would be:

    <select name="S1" size="10" col="35">
        <option value="andrew_cook">andrew_cook</option>
        <option value="andrew_cook_mod">andrew_cook_mod</option>
        <option value="barbara_smith">barbara_smith</option>
        <option value="barbara_smith_mod">barbara_smith_mod</option>
    </select></TD>

I tried making my request look like:

       my $req = POST 'http://www.foo.com/cgi/server?action=24&c=203',
                     S1 => "$username_mod",
                     B2 => 'Submit' ];

But the server doesn't seem to think I've made a selection.  Again, I have
used this same technique with other form elements but it seems not to work
with select lists.

I hope this question makes sense.  Any help is appreciated!

_____________________________________________
Randy Mullis
Webmaster, Cary Academy
Email:  [EMAIL PROTECTED]
Voice: (919) 677-1946 x5442      Pager: (919) 501-3136

Reply via email to