laziness, impatience, and hubris | |
PerlMonks |
Re: link to post hidden fieldsby planetscape (Chancellor) |
on Dec 23, 2005 at 02:09 UTC ( [id://518685]=note: print w/replies, xml ) | Need Help?? |
I'm not 100% sure I understand what you are trying to accomplish, but... My boilerplate advice is this: 1. Use WWW::Mechanize. 2. I would try using a module such as HTTP::Recorder or WWW::Mechanize::Shell to record a successful manual form submission. The output of HTTP::Recorder, for instance, can be "dropped" right into your WWW::Mechanize scripts. 3. Another important tool for finding out what is really happening behind the scenes between server and browser is a protocol analyzer such as Ethereal. 4. Don't forget to view the source of the page you're trying to automate. A number of times, the solution has been as simple as making sure one is not trying to stick 10 characters in a field made for 8, or that one is referring to a control by its name, not its value. Good luck,
planetscape
In Section
Seekers of Perl Wisdom
|
|