title: Reading the actual file creation date on Mac OS with Perl
body: <p>I would like to read the creation date of a file as it is represented on the Mac OS Finder.  This is part of my code:</p>
  
  <pre><code>require File::stat;
  use Time::localtime;
  
  ($dev, $ino, $mode, $nlink, $uid, $gid, $rdev, $size, $atime, $mtime, $ctime, $blksize, $blocks) = stat($file_path);
  print ctime($ctime) . "\n";
  </code></pre>
  
  <p>On the Finder, every file has two dates: created and modified.  I assumed that <code>$ctime</code> would be equal to the "created" date from the Finder, but it is completely different.  Doing some research, I found out that most Unix operating systems don't store this kind of date, however, Mac OS does.</p>
  
  <p>Does anybody know a way to read this information from a file?</p>