That is impossible.
1. The html is broken (no form tags),
which is why there is no default form,
to be set as default, or for you to select
(via $mech->form_name or $mech->form_number
and why $mech->click
This is a bug in WWW::Mechanize, it should throw a useful error messages, example
$ua->get('http://search.cpan.org');#got a form
$ua->get('http://cpan.org');#no forms here
warn $ua->submit; #dies here
HTML::Form=HASH(0x1d76ca0) at - line 6.
HTTP::Response=HASH(0x1d77114) at - line 7.
Warning: something's wrong at - line 9.
Can't call method "make_request" on an undefined value at D:/Perl/site
+/lib/WWW/Mechanize.pm line 1641.
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.