title: how to send a http patch request with Lwp::Useragent?
body: <p>I am working against the salesforce rest api with lwp::useragent.</p>
  
  <p>I have to use the http patch request.</p>
  
  <p>For get and post requests we get use the following code:</p>
  
  <p>require LWP::UserAgent;</p>
  
  <pre><code>my $ua = LWP::UserAgent-&gt;new;
  $ua-&gt;timeout(10);
  $ua-&gt;env_proxy;
  
  my $get_response = $ua-&gt;get('http://search.cpan.org/',x=&gt;'y');
  my $post_response = $ua-&gt;post('http://search.cpan.org/',x=&gt;'y');
  </code></pre>
  
  <p>Unfortunately this does not work</p>
  
  <pre><code>   my $patch_response = $ua-&gt;patch('http://search.cpan.org/',x=&gt;'y');
  </code></pre>
  
  <p>I don't find how to do it with this module.</p>
  
  <p>There is a workaround to this problem like explained here <a href="https://stackoverflow.com/questions/7799340/how-do-i-send-a-request-using-the-patch-method-for-a-salesforce-update#7803040">How do I send a request using the PATCH method for a Salesforce update?</a></p>
  
  <p>This works but this is not a nice solution.</p>
  
  <p>I saw that with python it is possible to make explicitly patch requests <a href="https://stackoverflow.com/questions/6853050/how-do-i-make-a-patch-request-in-python">How do I make a PATCH request in Python?</a>  so i assume that there is also an option with perl. </p>