title: Why does Perl complain about "Unsuccessful stat on filename containing newline"?
body: <p>I am getting an error I do not understand. I am using File:Find to recurse a fylesystem on Windows using Activestate Perl 5.8.8 and trying to stat <code>$File::Find::name</code>; so I am not <code>stat</code>-ing a filename got from a text file scanning requiring <code>chomp</code>-ing or newline removing. I was unable to get file modification time, the <code>mtime</code> in:</p>
  
  <pre><code>my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,$blksize,$blocks) = stat($File::Find::name);
  </code></pre>
  
  <p>so trying a </p>
  
  <pre><code>-s $File::Find::name 
  </code></pre>
  
  <p>gives me the error:</p>
  
  <blockquote>
    <p>Unsuccessful stat on filename containing newline</p>
  </blockquote>
  
  <p>A typical file name found is <em>F01-01-10 Num 0-00000.pdf</em> but I get the same error even renaming in <em>E02.pdf</em></p>