title: How can I resolve this case of "Useless use of a variable in a void context"?
body: <p>How can I resolve this case of "Useless use of a variable in a void context"?</p>
  
  <p>For example:</p>
  
  <pre><code>  my $err = $soap_response-&gt;code, " ", $soap_response-&gt;string, "\n";
    return $err;
  </code></pre>
  
  <p>I get warnings like "Useless use of a variable in a void context"? Why? How can I resolve it?</p>