title: Perl File::Find Windows Backslashes Directory Path
body: <p>Is there an easy way to automatically replace the $dir backslashes with forward ones because the only way I know is manually and if the path is too long is quite annoying.
  Thanks.</p>
  
  <pre><code>use strict; 
  use warnings;
  use File::Find;
  
  my $dir = "E:\dir1\dir2\dir3\dir4\dir5";
  
  find(\&amp;temp, $dir);
  sub temp {
      .....
  }
  </code></pre>