use LWP::UserAgent; use HTTP::Request::Common; %myhash;#i have a hash of parameters I need to post $userAgent = LWP::UserAgent->new; $response = $userAgent->request(POST 'http://foo.bar', Content_Type => 'form-data', Content => %myhash #I need to post the hash, not sure of the syntax );