I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2007-02-09 16:26:25-08 by adig in response to 4267
Re: Can't login to site
Thanks Abe. It helped and solved the problem. But I want to ask how... I changed the code to the following:
$ie->get( $url ); $ie->follow_link(); $ie->submit_form( fields => { uid => 'uid', password => 'pass', auth_field => 'field', }, );
My questions are as follow: 1. When I load the page directly at IE, and click on view source, I get that the page has a form. Why do I need to use the follow_link() ? I'm using the same link that I use in IE here ? 2. How did it go to the right frame without putting any params at the follow_link() ? Is it because there is only 1 link / 1 frame at that page ? 3. How did it take the right submit button ? I know that there are 2 buttons at that page: Enter & Cancel ?
Direct Responses: 4311 | Write a response