jaehokim1 has asked for the wisdom of the Perl Monks concerning the following question:


There are one text box and two buttons in a perl script.

There types are "reset" and "submit", but there are no names for the button in the perl script right now..
Now I am trying to post this with some value in the text box and click submit button,


Page Info shows following in the netscape,,,
Field Name:Type:Current Value
type:hidden:Get_Server_Status
status:hidden: 1
testenv:select-one:QA
:reset:Reset!
:submit:Submit!
my $url = 'http://acamary.office.aol.com/cgi-bin/AdServers/CARP/CARP_ +req.pl?req=LI&type=Get_Server_Status'; my $response = $browser->post( $url, [ 'type' => 'Get_Server_Status', 'Status' => '1', 'testenv' => 'QA', ## text box ???? ## No idea how I can pass this through the + post. ] );
What Do I need to enter in the ????

Replies are listed 'Best First'.
Re: LWP post ?
by diotalevi (Canon) on May 25, 2004 at 15:44 UTC
    Include the pair that is the <textarea>/<input> name and the value. So  'message' => '...'.