Jun 22, 2000, 6:31 AM
Post #2 of 2
You gave us the solution in your own post. What else do you need explained?
Re: How do I automate an HTML form submission?
[In reply to]
<BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR>
use HTTP::Request::Common qw(POST);
$ua = LWP::UserAgent->new();
$req = POST 'http://arch8.magewar.com/archmage/enter.cgi',
'ID' => 'wildd',
'PASSWORD' => 'asdf32',
$content = $ua->request($req)->as_string;</pre><HR></BLOCKQUOTE>
[This message has been edited by Kanji (edited 06-22-2000).]