my $req = POST $url; $req->content_type("multipart/form-data"); my $call = $ua->request($req); if ($call->is_success()) { print $call->content(),"\n"; } else { print $call->status_line,"\n"; }