Think about Loose Coupling | |
PerlMonks |
"Unexpected field value" error with WWW::Mechanizeby bobf (Monsignor) |
on Mar 17, 2005 at 08:07 UTC ( [id://440293]=perlquestion: print w/replies, xml ) | Need Help?? |
bobf has asked for the wisdom of the Perl Monks concerning the following question: I beseech the monks for wisdom and insight. I'm trying to learn how to use WWW::Mechanize to submit data to a form, but I'm clearly doing something wrong and try as I might I just can't seem to find the error. As a test case I'm using our beloved http://search.cpan.org and searching for 'mechanize'. Here's the code:
And here is the output:
Based on the output I know the proper form was selected and the query string was assigned to the proper field. I don't understand why I get an "Unexpected field value" error when the form is submitted, but I know there has to be a simple explanation for this. Could someone please run my code and see if it works on a different system? That would at least tell me if the problem is in my code or if it is something else (e.g., the WWW::Mech installation, etc). Thanks in advance!
Back to
Seekers of Perl Wisdom
|
|