title: Perl command line search and replace with multiple expressions
body: <p>I am using Perl to search and replace multiple regular expressions:
  When I execute the following command, I get an error:</p>
  
  <pre class="lang-none prettyprint-override"><code>prompt&gt; find "*.cpp" | xargs perl -i -pe 's/##(\W)/\1/g' -pe 's/(\W)##/\1/g'
  syntax error at -e line 2, near "s/(\W)##/\1/g"
  Execution of -e aborted due to compilation errors.
  xargs: perl: exited with status 255; aborting
  </code></pre>
  
  <p>Having multiple <code>-e</code> is valid in Perl, then why is this not working? Is there a solution to this?</p>