in reply to Re: Accessing web pages
in thread Accessing web pages
All you have to do is set up a POST request message with all the fields in your HTML form (check boxes, text fields, and so on), with the correct URL. I hope this helps.use HTTP::Request::Common qw(POST); use LWP::UserAgent; $ua = new LWP::UserAgent; my $req = POST 'http://www.perl.com/cgi-bin/BugGlimpse', [ search => 'www', errors => 0 ]; print $ua->request($req)->as_string;
|
---|