http://qs321.pair.com?node_id=193929


in reply to Setting Content-Type when POSTing with LWP

See lwpcookbook for reference. An example:
my $req = HTTP::Request->new(POST => 'http://www.perl.com/cgi-bin/Bug +Glimpse'); $req->content_type('application/x-www-form-urlencoded'); $req->content('match=www&errors=0');