in reply to using and debuging www Mechanize
You can give the name of the text boxes instead of
Username => 'someone',Password => 'pass'For example if you have a text box like
<input id="USER_NAME" type="text" name="USER_NAME"/>
then you can to submit as follows
my $response=$mech->post($url,[ 'USER_NAME' => "testing"]); | \ / name of the text box
Update: Changed "have and need" to can
The great pleasure in my life is doing what people say you cannot do.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: using and debuging www Mechanize
by Anonymous Monk on Jun 08, 2009 at 12:45 UTC |