title: Escape whitespace when using backticks
body: <p>I've had a search around, and from my perspective using backticks is the only way I can solve this problem. I'm trying to call the <code>mdls</code> command from Perl for each file in a directory to find it's last accessed time. The issue I'm having is that in the file names I have from <code>find</code> I have unescaped spaces which bash obviously doesn't like. Is there an easy way to escape all of the white space in my file names before passing them to <code>mdls</code>. Please forgive me if this is an obvious question. I'm quite new to Perl. </p>
  
  <pre><code>my $top_dir = '/Volumes/hydrogen/FLAC';
  
  sub wanted { # Learn about sub routines 
      if ($File::Find::name) { 
           my $curr_file_path = $File::Find::name. "\n";
          `mdls $curr_file_path`;
           print $_;
      }
  }
  
  find(\&amp;wanted, $top_dir);
  </code></pre>