Actually i have to get the Mac file information(dates). When i use the stat(), i am getting the input file info.
i added a line
$file = $ARGV[0]; in the begining
($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,$blksize,$blks)= stat($file);
($sec, $min, $hour, $mday, $mon...