title: Better way to remove specific characters from a Perl string
body: <p>I have dynamically generated strings like <code>@#@!efq@!#!</code>, and I want to remove specific characters from the string using Perl.</p>
  
  <p>Currently I am doing something this (replacing the characters with nothing):</p>
  
  <pre><code>$varTemp =~ s/['\$','\#','\@','\~','\!','\&amp;','\*','\(','\)','\[','\]','\;','\.','\,','\:','\?','\^',' ', '\`','\\','\/']//g;
  </code></pre>
  
  <p>Is there a better way of doing this? I am fooking for something clean.</p>