title: How can I get the last modified time of a directory in Perl on Windows?
body: <p>In Perl (on Windows) how do I determine the last modified time of a directory?</p>
  
  <p>Note:</p>
  
  <pre><code> opendir my($dirHandle), "$path";
   my $modtime = (stat($dirHandle))[9];
  </code></pre>
  
  <p>results in the following error:</p>
  
  <blockquote>
    <p>The dirfd function is unimplemented at scriptName.pl line lineNumber.</p>
  </blockquote>