in reply to trouble filling out HTML form
Try WWW::Mechanize. In looking at the form, you would use the following code:
use WWW::Mechanize; my $browser = WWW::Mechanize->new; $browser->get($url); $browser->submit_form( form_name => 'logon', fields => { UserID => $user, Password => $pass });
I noticed that their HTML is wrong. They forgot to specify the type for the UserID input box. I don't know if that will cause a problem.
Cheers,
Ovid
New address of my CGI Course.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: trouble filling out HTML form
by tachyon (Chancellor) on Oct 21, 2003 at 00:21 UTC | |
by diablo1024 (Initiate) on Oct 23, 2003 at 19:21 UTC |