title: Perl to escape whitespace in a path
body: <p>I have a path in a string with whitespace.</p>
  
  <p>For example: <code>$file="/application/Revenue Setting/settings.xml"</code></p>
  
  <p>I know I need to put a "\" in front of the whitespace to make it work.  I just cannot get the regex to make it work.</p>
  
  <p>Any help would be greatly appreciated.</p>