I see that Mechanize doesn't handle java script and the buttons invoke java script. I'll see if I can preprocess within PERL and hack around to invoke the button. | [reply] |
A quick follow up. In short the problem was that Mechanize and LWP do not interpret client side java script. There is a module that was just released that hooks into mechanize: WWW::Scripter::Plugin::JavaScript But it is very new and not yet recognized by the Mechanize owner. In the end the java script was rather simplistic. I added two lines to the form call, adding values for the two hidden variables and the server side CGI did the rest.
| [reply] |
Did you find a resolution for this problem?
I'm stuck at exactly the same place.
| [reply] |
What part of this do you have problems with?
I see that Mechanize doesn't handle java script and the buttons invoke java script.
WWW::Mechanize does not handle Javascript.
You will need to use a module that understands Javascript, like WWW::Scripter, or maybe WWW::Mechanize::Firefox.
| [reply] |