redss has asked for the wisdom of the Perl Monks concerning the following question:
I want to submit a form, and the following works:
However, I want to embed the html (containing the form) in my perl script rather than retrieving it using $mech->get.use WWW::Mechanize; $mech = WWW::Mechanize->new(); $mech->get('http://www.abc.com/index.htm' ); $resp = $mech->submit();
How can I do that?
My Mechanize.pm is version .72 which doesn't have an update_html() method, which sounds like one way to do it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Question about WWW::Mechanize
by davidrw (Prior) on Jan 11, 2008 at 01:24 UTC | |
|
Re: Question about WWW::Mechanize
by gam3 (Curate) on Jan 11, 2008 at 01:22 UTC | |
|
Re: Question about WWW::Mechanize
by Gangabass (Vicar) on Jan 11, 2008 at 03:03 UTC |