in reply to Did I have to roll my own?
You can get more information by looking in lwpcook.(pod|html) that came with libwww-perl.use LWP::UserAgent; my $ua = LWP::UserAgent->new; my $req = HTTP::Request->new(POST => 'http://www.foobar.com/cgi-bin/fo +obar'); $req->content_type('application/x-www-form-urlencoded'); $req->content('foobar=5'); my $res = $ua->request($req); print $res->as_string;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Did I have to roll my own?
by merlyn (Sage) on Jan 19, 2001 at 02:23 UTC |