title: mkpath failing if directory already exists?
body: <p>I'm trying to debug a problem on a friend's machine.
  I wrote a script to copy over some files and the script makes use of <a href="http://perldoc.perl.org/File/Path.html" rel="nofollow noreferrer">mkpath</a> (I know mkpath is decrepit and now there is make_path, but I'm using an older version of perl).</p>
  <p>On my machine (with the <strong>same</strong> version of perl and operating system etc..) the script runs fine even under the conditions where the directories already exist.</p>
  <p>However,</p>
  <p>When I try running the script on my friend's machine, mkpath throws an error when being called on directories that already exist!</p>
  <p>The error it throws is 'mkdir  : File exists'</p>
  <p>I'm pretty stumped as to why the script works on my machine but not his.</p>
  <p>Thanks
  Farid</p>
  <h1>EDIT ADDING MORE USEFUL INFO</h1>
  <p>Okay, so here are a few more things to help diagnose this problem</p>
  <ol>
  <li><p>We are using the same version of Perl and File. Both are stored on a Perforce repository so we are 100% using the same version</p>
  </li>
  <li><p>I am copying the files to a network shared system. Therefore the filepath is of the type: <code>\\NETWORK-COMP/Directory1/Directory2/Directory3</code></p>
  </li>
  <li><p>The script loops through a bunch of files and copies them over. The <strong>first</strong> file is <strong>always</strong> successfully copied, however on the 2nd file it fails with the error</p>
  <p>mkdir \NETWORK-COMP/Directory1 File exists</p>
  </li>
  </ol>
  <p>Directory1 is not a file and it is in fact a GUID and there are no collisions (I double checked every time)!</p>