in reply to
Trouble with posting to a webpage
OK found out. For whatever reason
$mech->submit()
did not work but
$mech->click_button( name => 'sub1' )
.
Comment on
Re: Trouble with posting to a webpage
Select
or
Download
Code
Replies are listed 'Best First'.
Re^2: Trouble with posting to a webpage
by
erroneousBollock
(Curate)
on Nov 27, 2007 at 09:51 UTC
Usually this happens if there is more than one form on the page, and you've not selected the form you're interested in.
-David
[reply]
Re^3: Trouble with posting to a webpage
by
KaiAllard_
(Initiate)
on Nov 27, 2007 at 13:57 UTC
Just one single form on the page and I selected it
$mech->form_number(1);
. Thank you anyway.
[reply]
[d/l]
In Section
Seekers of Perl Wisdom