"be consistent" | |
PerlMonks |
Re: Using LWP to automate a loginby Cody Pendant (Prior) |
on Jul 29, 2007 at 20:38 UTC ( [id://629439]=note: print w/replies, xml ) | Need Help?? |
What you're missing is the bit of JavaScript which puts a value into that "data" field. In the HTML, it's empty, so if the login script expects a value there's got to be a script which sets document.postform.data.value = 'something'. You'll need to find that and manually add it somehow.
WWW::Mechanize will help you do that via the update_html method. Nobody says perl looks like line-noise any more
In Section
Seekers of Perl Wisdom
|
|