title: How to Replace white space in perl
body: <pre><code>chomp($myString);
  $myString =~ s/\///g;
  </code></pre>
  
  <p>can i replace those two with</p>
  
  <pre><code>$myString =~ s/\s//g;
  </code></pre>
  
  <p>are there any difference? Please explain.</p>