title: convert curl command line to Perl WWW::Curl or LWP
body: <p>I'm trying to replicate the following command line curl:</p>
  
  <pre><code>curl -F file=@myfile.csv 'https://myserver/api/import/data_save.html'
  </code></pre>
  
  <p>Does anyone have an example in either www::curl or lwp perhaps?  I have been trying all day and it's not even worth me posting my tries at this point, it would only confuse things.  Thank you!!!</p>