title: Escape double quotes in URL for execution with curl command
body: <p>I have the following URL to be executed with <code>curl</code></p>
  
  <pre><code>my $workItemCommentorURL = "://xyz.com/jazz/oslc/users.json?oslc_cm.query=rtc_cm:userId="$id"&amp;oslc_cm.properties=dc:title"
  </code></pre>
  
  <p>I get the error as:</p>
  
  <pre><code>Scalar found where operator expected at ./clone.pl line 90, near ""://xyz.com/jazz/oslc/users.json?oslc_cm.query=rtc_cm:userId="$id"
      (Missing operator before $id?)
  String found where operator expected at ./clone.pl line 90, near "$id"&amp;oslc_cm.properties=dc:title""
  </code></pre>
  
  <p>Tried to escape double quotes with following options:</p>
  
  <pre><code>"://xyz.com/jazz/oslc/users.json?oslc_cm.query=rtc_cm:userId=\"&amp;id\"&amp;oslc_cm.properties=dc:title"
  "https://xyz.com/jazz/oslc/users.json?oslc_cm.query=rtc_cm:\"userId=" .$id. "\"&amp;oslc_cm.properties=dc:title"
  </code></pre>
  
  <p>With this able to get the result but still getting the warning message as:</p>
  
  <pre><code>sh: oslc_cm.properties=dc:title: command not found
  </code></pre>
  
  <p>How should I escape the quotes in URL to get the result without warning <code>sh: oslc_cm.properties=dc:title: command not found</code></p>
  
  <p>My code is:</p>
  
  <pre><code>my $workItemCommentorURL = "https://xyz.com/jazz/oslc/users.json?oslc_cm.query=rtc_cm:userId=\"$id\"&amp;oslc_cm.
  my $result = qx(curl -s -D - -k  -b ~/.jazzcookies -o commentor.json -H \"Accept: application/x-oslc-cm-changerequest+json\" $workItemCommentorURL);
  </code></pre>