egonspengler3 has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to use WWW::Mechanize to automatically fill out a web form.
Ordinarily, it is easy because $mech automatically numbers the <form></form> in order when it first gets the $url. But what if there is no <form></form>?
Ordinarily webforms follow this template:
<form> <input id="foo" type="" /> <input id="submit" type="submit" /> </form>
But what if it's only this:
<input id="foo" type="" /> <input id="submit" type="submit" />
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: WWW::Mechanize to Fill in Fields when no Form Defined
by Corion (Patriarch) on Apr 01, 2011 at 20:38 UTC | |
by cavac (Prior) on Apr 01, 2011 at 22:14 UTC | |
by Corion (Patriarch) on Apr 01, 2011 at 22:18 UTC | |
by cavac (Prior) on Apr 01, 2011 at 22:51 UTC | |
|
Re: WWW::Mechanize to Fill in Fields when no Form Defined
by Kanji (Parson) on Apr 03, 2011 at 03:15 UTC |