Subject: | HTML::Form does not work well with Mechanize response objects |
The below code tends to work with response objects from LWP::Useragent,
however for WWW::Mechanize response object, it simply throws an error
"HTML::Form::parse: No $base_uri provided at ./test.pl line 49"
--------------Sample-Code-------------------------------
my $forms = HTML::Form->parse( "$formresponse" );
my $value = $forms->find_input('SetShift')->value;
print $value;
\\-----------Sample-Code-----------------------------\\
Moreover "$forms->attr( 'SetShift' )" does not seem to be a shortcut to
saying "$forms->find_input('SetShift')->value" as mentioned in the
documentation.